First of all, I'd thank you Jaroslav for the generated nb-javac and this summary:

https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac

Second I have an issue: https://bugs.openjdk.java.net/browse/JDK-8262095

This usually comes up when I try to use Find Usages in NetBeans source code. I get partial results and usually an exception:

Caused: java.lang.NullPointerException: Cannot invoke "com.sun.tools.javac.code.Type.getThrownTypes()" because "tree.meth.type" is null     at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1439)     at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1797)
    at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)

Which resembles the one in the JDK bug report above.

This issue is supposed to be fixed in JDK 17.0.2, AFAIK nb-javac is 17.0.1. The real question is how can we address such kind of issues.

I've tried to deactivate the nb-javac plugin to take the advantage of my local 17.0.2 JSK installation, but even after restart the nb-javac plugin is active.

Am I the only one seeing this compiler bug?

Ideas?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to