[YANGTOOLS-579] Redesign TypeDefinitionAwareCodec API Created: 27/Jan/16 Updated: 19/Sep/23 |
|
| Status: | Confirmed |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 14.0.0 |
| Type: | Improvement | Priority: | Highest |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
The current API contract abuses generics to the point different compilers end up interpreting it differently. It recently broke with Java 8 upgrade. Redesign the API contract so that its use of generics conforms to generic inference rules in Java 8+. |
| Comments |
| Comment by Filip Gregor [ 03/Feb/16 ] |
|
needs to be redesigned so that it does not throw ClassCastException |