JDK-8130134 : The applet can be loaded as thrown java.io.IOException and java.security.AccessControlException
  • Type: Bug
  • Component: deploy
  • Affected Version: 8u60
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: x86
  • Submitted: 2015-06-26
  • Updated: 2015-06-30
  • Resolved: 2015-06-30
Related Reports
Duplicate :  
Description
Testsuite: set1 in applet
Test name(s): playfreegame_AkimoTequilaWorm
Product(s) tested: Jre8u60b21 64bit
OS/architecture: Oel6.4-x64-UEK, Windows 7
Reproducible: Always
Reproducible on machine: egtc

Copy applet workspace, install test jre, and run this case
Test Procedure: 
1.Java Control Panel: add test app URL prefix to exception site list (ESL): http://www.play-free-games.com 
2.Browse http://www.play-free-games.com/free-games/tequila-game/tequila-game.cfm 
3.Enter your initials and click 'Play Game" 
4.Play the game testing all features and functionality 
5.Attempt to resize the applet, browser window 
6.Click 'Exit Here' to leave the game 
7.Launch the game one more time then exit 
8.Check the Java Console for any exceptions, warning messages 
9.Close all applet, browser windows to terminate the applet 
10.Capture and Report any error messages 


The actual result:
1 )we use China network:The applet can be loaded as thrown java.io.IOException and java.security.AccessControlException after clicking the security warning dialog.
2) we use vpn+proxy(www-proxy.us.oracle.com):The applet also thrown java.io.IOException and java.security.AccessControlException
Comments
8u60 b21: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.play-free-games.com/crossdomain.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.deploy.net.CrossDomainXML.check(Unknown Source) at com.sun.deploy.net.CrossDomainXML.check(Unknown Source) at sun.plugin2.applet.SecurityManagerHelper.checkConnectHelper(Unknown Source) at sun.plugin2.applet.AWTAppletSecurityManager.checkConnect(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getByName(Unknown Source) at java.net.URLStreamHandler.getHostAddress(Unknown Source) at java.net.URLStreamHandler.hashCode(Unknown Source) at java.net.URL.hashCode(Unknown Source) at java.util.HashMap.hash(Unknown Source) at java.util.HashMap.get(Unknown Source) at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter$AppletContextImpl.getImage(Unknown Source) at java.applet.Applet.getImage(Unknown Source) at java.applet.Applet.getImage(Unknown Source) at tequila.init(tequila.java:50) at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.security.AccessControlException: access denied ("java.net.SocketPermission" "www.play-free-games.com" "resolve") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkConnect(Unknown Source) at sun.plugin2.applet.SecurityManagerHelper.checkConnectHelper(Unknown Source) at sun.plugin2.applet.AWTAppletSecurityManager.checkConnect(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getByName(Unknown Source) at com.sun.deploy.net.CrossDomainXML.addAccess(Unknown Source) at com.sun.deploy.net.CrossDomainXML.allowNoAccess(Unknown Source) at com.sun.deploy.net.CrossDomainXML.check(Unknown Source) at sun.plugin2.applet.SecurityManagerHelper.checkConnectHelper(Unknown Source) at sun.plugin2.applet.AWTAppletSecurityManager.checkConnect(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getByName(Unknown Source) at java.net.URLStreamHandler.getHostAddress(Unknown Source) at java.net.URLStreamHandler.hashCode(Unknown Source) at java.net.URL.hashCode(Unknown Source) at java.util.HashMap.hash(Unknown Source) at java.util.HashMap.get(Unknown Source) at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter$AppletContextImpl.getImage(Unknown Source) at java.applet.Applet.getImage(Unknown Source) at java.applet.Applet.getImage(Unknown Source) at tequila.init(tequila.java:50) at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
30-06-2015

RULE set1/playfreegame_AkimoTequilaWorm any any RULE set1/playfreegame_JavaIceHockey any any
26-06-2015