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 255357 - IllegalAccessError: superinterface check failed: class org.whattf.datatype.Html5DatatypeLibrary (in module: Unnamed Module) cannot access class org.relaxng.datatype.DatatypeLibrary (in module: jdk.xml
Summary: IllegalAccessError: superinterface check failed: class org.whattf.datatype.Ht...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: JDK_9, NO81
Depends on:
Blocks:
 
Reported: 2015-09-17 10:38 UTC by Jiri Prox
Modified: 2016-05-13 08:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219984


Attachments
stacktrace (4.43 KB, text/plain)
2015-09-17 10:38 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2015-09-17 10:38:46 UTC
Build: NetBeans Dev JDK9 branch (Build 20150915-63db74ce1bef)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.9.0-ea-jigsaw-nightly-h3391-20150915-b81, Java(TM) SE Runtime Environment, 1.9.0-ea-jigsaw-nightly-h3391-20150915-b81
OS: Windows 7

User Comments:
jiriprox: IAE when opening PHP file




Stacktrace: 
java.lang.IllegalAccessError: superinterface check failed: class org.whattf.datatype.Html5DatatypeLibrary (in module: Unnamed Module) cannot access class org.relaxng.datatype.DatatypeLibrary (in module: jdk.xml.bind), org.relaxng.datatype is not exported to Unnamed Module
   at java.lang.ClassLoader.defineClass1(ClassLoader.java:0)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:820)
   at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:311)
   at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:259)
   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:187)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:364)
Comment 1 Jiri Prox 2015-09-17 10:38:48 UTC
Created attachment 156236 [details]
stacktrace
Comment 2 Jiri Kovalsky 2015-09-18 09:27:51 UTC
Not related to NetBeans 8.1.
Comment 3 Martin Balin 2016-05-13 08:14:45 UTC
This should be verified in JDK9 branch build and if it is there then we need to extend -XaddExports in launchers