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 268154

Summary: SecurityException: sealing violation
Product: java Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: akrasny, emreyes, jdlee, sunflower, TrevCavill
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 223832
Attachments: stacktrace
stacktrace
stacktrace

Description Alexandr Scherbatiy 2016-09-22 12:16:21 UTC
Build: NetBeans IDE Dev (Build 20160920-9f06e8851406)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-internal+0-2016-09-20-000739.alexsch.jdk9-hidpi, Java(TM) SE Runtime Environment, 9-internal+0-2016-09-20-000739.alexsch.jdk9-hidpi
OS: Windows 8.1

User Comments:
jdlee: Starting NetBeans

GUEST: started netbeans

GUEST: Opened NetBeans after installing it

sunflower: Build NetBeans from sources: http://hg.netbeans.org/jet-main
Build JDK 9 from sources: http://hg.openjdk.java.net/jdk9/client/

Run the build NetBeans using the built JDK 9.
Create a Java project.

The exception pops up.

emreyes: <Please provide a description of the problem or the steps to reproduce>

This was my first attempt to start netbeans with the openjdk9 build 135. 
IDE imported setting from my previous 8.0.1 version displayed the "start" page with previous projects and threw this exception.

GUEST: Just started NetBeans




Stacktrace: 
java.lang.SecurityException: sealing violation
   at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:265)
   at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:259)
   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:187)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at java.lang.ClassLoader.defineClass1(ClassLoader.java:0)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:947)
Comment 1 Alexandr Scherbatiy 2016-09-22 12:16:23 UTC
Created attachment 162173 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2016-09-22 12:19:05 UTC
Created attachment 162174 [details]
stacktrace

Build NetBeans from sources: http://hg.netbeans.org/jet-main
Build JDK 9 from sources: http://hg.openjdk.java.net/jdk9/client/

Run the build NetBeans using the built JDK 9.
Create a Java project.

The exception pops up.
Comment 3 Andrew Krasny 2017-12-01 20:39:55 UTC
Created attachment 165526 [details]
stacktrace

Activating java debugger