[ https://issues.apache.org/jira/browse/NETBEANS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaroslav Tulach resolved NETBEANS-621. -------------------------------------- Resolution: Fixed Fix Version/s: Next Fixed as https://github.com/apache/incubator-netbeans-html4j/commit/a91992961d7c5751c40b7359b49ff1dc4b4bd569 The fix will be part of post 1.5.1 version of HTML/Java API. > Missing vararg cast in generated code > ------------------------------------- > > Key: NETBEANS-621 > URL: https://issues.apache.org/jira/browse/NETBEANS-621 > Project: NetBeans > Issue Type: Bug > Components: platform - HTML4J > Affects Versions: 8.2 > Reporter: Jaroslav Tulach > Assignee: Jaroslav Tulach > Priority: Major > Fix For: Next > > > Code that is using @Model as > {code} > @ModelOperation > void read(Square square, SquareModel[] arr) { > arr[0] = this; > } > {code} > and later called > {code} > SquareModel[] arr = { null }; > sq.read(arr); > {code} > may yield a NPE thanks to wrong generated code. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists