[MDSAL-678] Incorrect @NonNull with binary requireFoo() Created: 21/Jul/21 Updated: 28/Sep/21 Resolved: 28/Sep/21 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding codegen |
| Affects Version/s: | 8.0.0, 7.0.9 |
| Fix Version/s: | 7.0.10, 8.0.6 |
| Type: | Bug | Priority: | High |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Code generator ends up generating this method:
default @NonNull byte[] requireSpeakerEntityIdValue() {
// ...
}
The problem here is that @NonNull placement, as that is a TYPE_USE annotation and therefore needs to look like this:
default byte @NonNull[] requireSpeakerEntityIdValue() {
// ...
}
find the offender and fix it up. |
| Comments |
| Comment by Robert Varga [ 28/Sep/21 ] |
|
This also seems to affect keys with binary components, hence is subject to backport. |