[MDSAL-475] Enable runtime/compile-time components to assert versioning assumptions Created: 03/Sep/19 Updated: 09/Jan/24 |
|
| Status: | Confirmed |
| Project: | mdsal |
| Component/s: | Binding codegen, Binding runtime, Binding Spec |
| Affects Version/s: | None |
| Fix Version/s: | 14.0.0 |
| Type: | Epic | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Name: | Add Binding versioning |
| Description |
|
BindingMapping.VERSION is a defunct construct which attempts to provide versioning. This approach is wrong, as we need to capture the version used at compile-time and check it against current runtime. For this to work, the API specification needs to work on ints (or other javac-propagated compile constant). |