Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Next
-
Apache NetBeans IDE DEV (Build dev-e12dbc0207b0c944ebb50b5372b9050e1223499f)
OpenJDK Runtime Environment (build 17-internal+26-adhoc.Ludovic.jdk17)
Description
Since JDK17+26, I see .dump in the log directory with:
----- Original exception --------------------------------------------- java.lang.NoSuchMethodError: 'void com.sun.tools.javac.util.Log.<init>(com.sun.tools.javac.util.Context, java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)' at org.netbeans.lib.nbjavac.services.NBLog.<init>(NBLog.java:55) at org.netbeans.lib.nbjavac.services.NBLog.<init>(NBLog.java:40) at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73) at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70) at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149) at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234) at jdk.compiler/com.sun.tools.javac.main.Arguments.<init>(Arguments.java:120) at jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112) at jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190) at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992) at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:839) at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428) at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:626) at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:399) at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) at org.netbeans.modules.java.source.JavaSourceUtilImpl$1.parseModule(JavaSourceUtilImpl.java:290) at org.netbeans.modules.java.preprocessorbridge.api.ModuleUtilities.parseModule(ModuleUtilities.java:80) at org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:844) at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) at org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90) at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:248) at org.netbeans.modules.java.source.indexing.APTUtils.listenOnProcessorPath(APTUtils.java:337) at org.netbeans.modules.java.source.indexing.APTUtils.listen(APTUtils.java:323) at org.netbeans.modules.java.source.indexing.APTUtils.create(APTUtils.java:232) at org.netbeans.modules.java.source.indexing.APTUtils.get(APTUtils.java:177) at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:846) at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428) at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:626) at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:399) at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) at org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(JavaNode.java:521) at org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(JavaNode.java:518) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.modules.java.JavaNode$IconTask$SourceIcon.computeIcon(JavaNode.java:518) at org.netbeans.modules.java.JavaNode$IconTask.run(JavaNode.java:480) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Attachments
Issue Links
- relates to
-
NETBEANS-5349 Update Netbeans Codebase to Account for deprecated/removed API in Java 11/15
- Open
-
NETBEANS-5784 Unable to create/open java projects as removal of Deprecated constructor(Log.java) in JDK-17
- Open
- links to