lahodaj commented on issue #6599:
URL: https://github.com/apache/netbeans/issues/6599#issuecomment-1781776793
So, under normal circumstances, this code was meant to throw a meaningful
CompletionFailure, which would produce a meaningful error, when java.lang does
not contain anything (as opposed to normal javac behavior which will simply
stop the compilation). Normally, CF should be get outside of javac, but there
is apparently a hole here for ModuleSymbol.getEnclosedElements. And,
apparently, javac thinks there's an empty java.lang package in the given module
(which could be potentially caused by multiple things).
I think I'll need to try to:
- fix ModuleSymbol.getEnclosedElements is javac (at least as long as I can
find a way to reproduce)
- fix NBClassFinder to only throw new CF for java.lang from java.base.
--
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