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 - 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
Summary: IllegalAccessError: class jdk.jshell.JShell (in unnamed module @0x731dd530) c...
Status: RESOLVED DUPLICATE of bug 262356
Alias: None
Product: java
Classification: Unclassified
Component: JShell (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-07 19:14 UTC by muellermi
Modified: 2016-10-07 08:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 224395


Attachments
stacktrace (5.16 KB, text/plain)
2016-06-07 19:14 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
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