Jan Lahoda
Jan Lahoda
In: https://github.com/oracle/javavscode/issues/51: there are exceptions like: ``` Caused by: java.lang.NullPointerException: Cannot read field "outer" because "env" is null at com.sun.tools.javac.api.JavacScope.create(JavacScope.java:60) at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:725) at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:157) at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:586) ``` Which would seem...
I can confirm that the debugger does not stop when putting a breakpoint into `IOUtils.toString`. Thanks for the report.
This may work: - open the module that you want to develop (e.g. `src/java.base`) - add the corresponding test folder to the workspace (e.g. `test/jdk`) - when running test, use...
The test is not wrong, but could be made shorter like here: https://github.com/lahodaj/jdk/blob/8e4c9f4091f443766e5f009317661260154a33a8/test/langtools/tools/javac/ImportModule.java#L750 Also, the similar `com.sun.tools.javac.tree.TreeTranslator` could also be made consistent and handle module imports. Although I doubt there...
I've changed the issue title to: "javac prints an AssertionError when annotation processing runs on program with module imports". OTOH, not sure what's wrong with "crash". It crashes (the program...
> Hi! I have already typed integrate a bit earlier in the conversation ([#19292 (comment)](https://github.com/openjdk/jdk/pull/19292#issuecomment-2131213489)), so I am waiting for sponsor for now Right. Sorry, I missed the label.
Thanks for the comments! I've dropped the `ToHTML` transformer, and made the transformations easier. Sadly, the standard transformer seems to break raw text tree positions, so it is not currently...