Tested OS/Browser:
XP-Home(sp2)/IE6
win 2000 pro(sp4)/IE6/NS7.2
win ME/IE6
Tested build: j2re 1.6.0- build 27
Problem:
-------
Applet fails to load. java.lang.ClassCastException thrown.
The applet works fine on the same sysetm using Microsoft VM-Release 5.0.0.3810
It's a regression. Other Yahoo applets displayed the same issue:
Text Twist, Word Mojo Gold
Steps to reproduce:
------------------
1) Install j2re1.6.0-build 27 into the test system.
2) Go to http://games.yahoo.com
3) Click on "Super Bounce Out" under Super ARCADE GAMES section
With Sun VM (1.6.0-b27) the applet fails to load with the following exception
from the Java Console:
java.lang.ClassCastException: java.io.File cannot be cast to com.sun.deploy.cache.CachedJarFile
at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
###@###.### 2005-03-19 00:24:29 GMT
###@###.### 2005-03-19 01:10:08 GMT
Verified the fix in Mustang-b59 on XP-Home(sp2)/IE6
win 2000 pro(sp4)/IE6
XP-Home(sp2)/IE6
win 2000 pro(sp4)/IE6/NS7.2
win ME/IE6
Tested build: j2re 1.6.0- build 27
Problem:
-------
Applet fails to load. java.lang.ClassCastException thrown.
The applet works fine on the same sysetm using Microsoft VM-Release 5.0.0.3810
It's a regression. Other Yahoo applets displayed the same issue:
Text Twist, Word Mojo Gold
Steps to reproduce:
------------------
1) Install j2re1.6.0-build 27 into the test system.
2) Go to http://games.yahoo.com
3) Click on "Super Bounce Out" under Super ARCADE GAMES section
With Sun VM (1.6.0-b27) the applet fails to load with the following exception
from the Java Console:
java.lang.ClassCastException: java.io.File cannot be cast to com.sun.deploy.cache.CachedJarFile
at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
###@###.### 2005-03-19 00:24:29 GMT
###@###.### 2005-03-19 01:10:08 GMT
Verified the fix in Mustang-b59 on XP-Home(sp2)/IE6
win 2000 pro(sp4)/IE6