[ https://issues.apache.org/jira/browse/NETBEANS-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eirik Bakke resolved NETBEANS-5322. ----------------------------------- Resolution: Fixed PR was merged; marking fixed. > Anonymous innerclasses may be lost from the model with nb-javac. > ---------------------------------------------------------------- > > Key: NETBEANS-5322 > URL: https://issues.apache.org/jira/browse/NETBEANS-5322 > Project: NetBeans > Issue Type: Bug > Affects Versions: 12.3 > Reporter: Jan Lahoda > Assignee: Jan Lahoda > Priority: Major > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > Consider code like: > {code:java} > package javaapplication2; > public class JavaApplication2 { > public static void main(String[] args) { > new Runnable() { > }; > } > } > {code} > There is an obvious compile-time error for the anonymous innerclass. When > running on e.g. JDK 15 without nb-javac, the provided fix works fine, and > generates the run method. When I install nb-javac, the fix stops to work, > unfortunately. > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- 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