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) at org.netbeans.modules.jshell.support.ShellSession.lambda$doExecuteCommands$35(ShellSession.java:1074) at org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1334) at org.netbeans.modules.jshell.support.ShellSession.doExecuteCommands(ShellSession.java:1052) at org.netbeans.modules.jshell.support.ShellSession.lambda$evaluate$32(ShellSession.java:1028) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to: 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 org.openide.util.RequestProcessor.post(RequestProcessor.java:420) at org.netbeans.modules.jshell.support.ShellSession.post(ShellSession.java:1203) at org.netbeans.modules.jshell.support.ShellSession.evaluate(ShellSession.java:1016) at org.netbeans.modules.jshell.editor.OverrideEditorActions$ExecuteInterceptor.afterInsert(OverrideEditorActions.java:353) at org.netbeans.modules.editor.lib2.typinghooks.TypedBreakInterceptorsManager$Transaction.afterInsertion(TypedBreakInterceptorsManager.java:133) at org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1543) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1800) at javax.swing.JComponent.processKeyBinding(JComponent.java:2880) at javax.swing.JComponent.processKeyBindings(JComponent.java:2927) at javax.swing.JComponent.processKeyEvent(JComponent.java:2843) at java.awt.Component.processEvent(Component.java:6378) at java.awt.Container.processEvent(Container.java:2258) at java.awt.Component.dispatchEventImpl(Component.java:4985) at java.awt.Container.dispatchEventImpl(Container.java:2316) at java.awt.Component.dispatchEvent(Component.java:4817) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1947) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:803) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1072) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:942) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:768) at java.awt.Component.dispatchEventImpl(Component.java:4866) at java.awt.Container.dispatchEventImpl(Container.java:2316) at java.awt.Window.dispatchEventImpl(Window.java:2754) at java.awt.Component.dispatchEvent(Component.java:4817) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:712) at java.awt.EventQueue$3.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:734) at java.awt.EventQueue$4.run(EventQueue.java:732) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77) at java.awt.EventQueue.dispatchEvent(EventQueue.java:731) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:199) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)