This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258762

Summary: JDK_9 com.sun.tools.javac.code.Symbol$CompletionFailure: cannot resolve modules
Product: java Reporter: alied <alied>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: terje7601
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 223435
Attachments: stacktrace

Description alied 2016-04-11 03:45:01 UTC
Build: NetBeans IDE Dev (Build 201604090404)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.77-b03, Java(TM) SE Runtime Environment, 1.8.0_77-b03
OS: Linux

User Comments:
alied: testing a module-info.
Added a new requires and then opened a class from the project view




Stacktrace: 
com.sun.tools.javac.code.Symbol$CompletionFailure: cannot resolve modules
   at com.sun.tools.javac.main.JavaCompiler.readSourceFile(JavaCompiler.java:848)
   at com.sun.tools.javac.main.JavaCompiler.readSourceFile(JavaCompiler.java:802)
   at com.sun.tools.javac.main.JavaCompiler.access$100(JavaCompiler.java:99)
   at com.sun.tools.javac.main.JavaCompiler$1.complete(JavaCompiler.java:345)
   at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:373)
   at com.sun.tools.javac.code.ModuleFinder.lambda$findSingleModule$120(ModuleFinder.java:206)
Comment 1 alied 2016-04-11 03:45:03 UTC
Created attachment 159195 [details]
stacktrace