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 254964

Summary: UnsupportedOperationException: Recursive listing is not supported in archives
Product: java Reporter: Alexandr Scherbatiy <sunflower>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal Keywords: JDK_9
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219651
Attachments: stacktrace

Description Alexandr Scherbatiy 2015-09-03 10:30:46 UTC
Build: NetBeans Dev JDK9 branch (Build 201509030404)
VM: Java HotSpot(TM) Client VM, 1.9.0-ea-b80, Java(TM) SE Runtime Environment, 1.9.0-ea-b80
OS: Windows 7

User Comments:
sunflower: open a file




Stacktrace: 
java.lang.UnsupportedOperationException: Recursive listing is not supported in archives
   at org.netbeans.modules.java.source.parsing.ModuleFileManager.list(ModuleFileManager.java:104)
   at org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:134)
   at com.sun.tools.javac.code.ModuleFinder$AutomaticModuleCompleter.complete(ModuleFinder.java:342)
   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:590)
   at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1215)
   at com.sun.tools.javac.comp.Modules$2.complete(Modules.java:386)
Comment 1 Alexandr Scherbatiy 2015-09-03 10:30:48 UTC
Created attachment 155854 [details]
stacktrace
Comment 2 Tomas Zezula 2015-09-07 09:08:43 UTC
Intorspection of Automatic Module on module path to find out all packages to export them.
Comment 3 Tomas Zezula 2016-06-09 13:56:03 UTC
Already fixed in JDK9 branch.
The recursive listing is required by automatic module completer.