You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jan Lahoda (Jira)" <ji...@apache.org> on 2021/02/03 20:32:00 UTC
[jira] [Created] (NETBEANS-5322) Anonymous innerclasses may be lost
from the model with nb-javac.
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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists