Jan Lahoda created NETBEANS-5322: ------------------------------------ Summary: 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
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