-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 8.2
-
Fix Version/s: Next
-
Component/s: platform - HTML4J
-
Labels:None
Code that is using @Model as
@ModelOperation
void read(Square square, SquareModel[] arr) {
arr[0] = this;
}
and later called
SquareModel[] arr = { null };
sq.read(arr);
may yield a NPE thanks to wrong generated code.