neilcsmith-net commented on issue #8722: URL: https://github.com/apache/netbeans/issues/8722#issuecomment-3197150858
Well, this bug is a shame and somewhat annoying! I'm not sure it's useful to be showing the error notification for a bunch of parsing errors we currently have. I've looked at part of this stack trace before with another bug. As well as this being a JDK issue, I'm curious at the behaviour of `JavacParser::moveToPhase`. This method is documented to throw an `IOException` when javac throws _any_ exception [here](https://github.com/apache/netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java#L625) but doesn't do so. This means it bypasses the catch that throws a `ParseException` [here](https://github.com/apache/netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java#L537). Is that intentional behaviour? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
