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 - SecurityException: sealing violation
Summary: SecurityException: sealing violation
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-22 12:16 UTC by Alexandr Scherbatiy
Modified: 2018-01-08 01:34 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223832


Attachments
stacktrace (6.94 KB, text/plain)
2016-09-22 12:16 UTC, Alexandr Scherbatiy
Details
stacktrace (5.25 KB, text/plain)
2016-09-22 12:19 UTC, Alexandr Scherbatiy
Details
stacktrace (2.37 KB, text/plain)
2017-12-01 20:39 UTC, Andrew Krasny
Details

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