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 262356 - 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: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 262357 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-07 19:11 UTC by muellermi
Modified: 2016-06-08 13:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 224394


Attachments
stacktrace (5.53 KB, text/plain)
2016-06-07 19:11 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:11:32 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: try to open java platform shell

muellermi: open 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.MemoryFileManager.handleOption(MemoryFileManager.java:428)
   at jdk.jshell.TaskFactory.addToClasspath(TaskFactory.java:94)
   at jdk.jshell.JShellAccessor.addCompileClasspath(JShellAccessor.java:66)
   at jdk.jshell.JShellAccessor.resetCompileClasspath(JShellAccessor.java:82)
   at org.netbeans.modules.jshell.support.ShellSession.setupJShellClasspath(ShellSession.java:640)
Comment 1 muellermi 2016-06-07 19:11:35 UTC
Created attachment 159987 [details]
stacktrace
Comment 2 Jaroslav Havlin 2016-06-08 08:46:20 UTC
Svata, can you please evaluate this? Thank you.
Comment 3 Jaroslav Havlin 2016-06-08 08:47:21 UTC
*** Bug 262357 has been marked as a duplicate of this bug. ***
Comment 4 Svata Dedic 2016-06-08 08:58:22 UTC
yes, it is mine; JShell does not yet have a category. JShell support is not yet tested on JDK9: module system boundaries break a lot.