-
Bug
-
Resolution: Fixed
-
P2
-
8
-
Java(TM) SE Runtime Environment 1.8.0 b96 (1.8.0-ea-b96)
-
b110
-
generic
-
windows_7
-
Verified
When opening each example<N>.html,it throws java.security.AccessControlException in java console.refer to MoleculeViewerTest.txt and MoleculeViewerTest.jpg.
Jul 05, 2013 4:33:22 AM XYZApp run
SEVERE: null
java.security.AccessControlException: access denied ("java.io.FilePermission" "C:\Java\jdk1.8.0\demo\applets\MoleculeViewer\models\HyaluronicAcid.xyz" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:453)
at java.security.AccessController.checkPermission(AccessController.java:820)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.File.isDirectory(File.java:844)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:82)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1038)
at XYZApp.run(XYZApp.java:351)
at java.lang.Thread.run(Thread.java:724)
Jul 05, 2013 4:33:22 AM XYZApp run
SEVERE: null
java.security.AccessControlException: access denied ("java.io.FilePermission" "C:\Java\jdk1.8.0\demo\applets\MoleculeViewer\models\HyaluronicAcid.xyz" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:453)
at java.security.AccessController.checkPermission(AccessController.java:820)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.File.isDirectory(File.java:844)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:82)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1038)
at XYZApp.run(XYZApp.java:351)
at java.lang.Thread.run(Thread.java:724)
- relates to
-
JDK-8027406 JDK demos are missing source files
- Resolved
-
JDK-8020098 WireFrameTest demo doesn't work with security exceptions
- Closed