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 262357

Summary: IllegalAccessError: class jdk.jshell.JShell (in unnamed module @0x731dd530) cannot access class jdk.internal.jshell.debug.InternalDebugControl (in module jdk.jshell) because module jdk.jshell does not
Product: java Reporter: muellermi <muellermi>
Component: JShellAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224395
Attachments: stacktrace

Description muellermi 2016-06-07 19:14:30 UTC
Build: NetBeans IDE Dev (Build prototypes-repl-13-on-20160530)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+120-2016-05-26-164250.javare.5074.nc, Java(TM) SE Runtime Environment, 9-ea+120-2016-05-26-164250.javare.5074.nc
OS: Linux

User Comments:
muellermi: entering statement in java platform shell




Stacktrace: 
java.lang.IllegalAccessError: class jdk.jshell.JShell (in unnamed module @0x731dd530) cannot access class jdk.internal.jshell.debug.InternalDebugControl (in module jdk.jshell) because module jdk.jshell does not export jdk.internal.jshell.debug to unnamed module @0x731dd530
   at jdk.jshell.JShell.debug(JShell.java:624)
   at jdk.jshell.SourceCodeAnalysisImpl.analyzeCompletion(SourceCodeAnalysisImpl.java:152)
   at org.netbeans.modules.jshell.support.InternalJShell.processSource(InternalJShell.java:1042)
   at org.netbeans.modules.jshell.support.InternalJShell.processSourceCatchingReset(InternalJShell.java:291)
   at org.netbeans.modules.jshell.support.InternalJShell.process(InternalJShell.java:283)
   at org.netbeans.modules.jshell.support.JShellLauncher.evaluate(JShellLauncher.java:107)
Comment 1 muellermi 2016-06-07 19:14:32 UTC
Created attachment 159988 [details]
stacktrace
Comment 2 Jaroslav Havlin 2016-06-08 08:47:21 UTC
Seems very similar to bug 262356. Marking as duplicate.
Thank you for reporting.

*** This bug has been marked as a duplicate of bug 262356 ***
Comment 3 Svata Dedic 2016-10-07 08:47:34 UTC
Moving to an appropriate component