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 268155 - SecurityException: sealing violation
Summary: SecurityException: sealing violation
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: Dev
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords: JDK_9
Depends on:
Blocks:
 
Reported: 2016-09-22 12:22 UTC by Alexandr Scherbatiy
Modified: 2016-09-22 12:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226367


Attachments
stacktrace (4.59 KB, text/plain)
2016-09-22 12:22 UTC, Alexandr Scherbatiy
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:22: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:
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.




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 org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:817)
   at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:734)
Comment 1 Alexandr Scherbatiy 2016-09-22 12:22:23 UTC
Created attachment 162175 [details]
stacktrace