-
Bug
-
Resolution: Fixed
-
P3
-
6u18, 6u21
-
b130
-
x86
-
windows_xp, windows_vista
-
Verified
Steps to reproduce:
1. Launch "http://sqindia.india.sun.com/disk17/deployment/raghu/JNLPSupport/JAWSServices/html/JNLPFileServices.html
"
2. Press ALT+Left mouse,Drag and drop in Desktop in desktop.
3. Close the browser.
4. Accept the request for short cut creation.
5. Launch the Applet from desktop shortcut.
#Actual behavior:
Can't launch the applet with a shortcut
#Expected behavior:
Applet should launch with shortcut and pass
#Fail cause:
JNLPFileServices.class didn't find into directory
'http://sqindia.india.sun.com/disk17/deployment/raghu/JNLPSupport/JAWSServices/class'
#Exception:
java.lang.ClassNotFoundException: JNLPFileServices.class
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The applet only fails to run from java web start because main-class is specified as:
main-class="JNLPFileServices.class" instead of "JNLPFileServices".
The plugin is too lax and allows "JNLPFileServices.class" to run.
1. Launch "http://sqindia.india.sun.com/disk17/deployment/raghu/JNLPSupport/JAWSServices/html/JNLPFileServices.html
"
2. Press ALT+Left mouse,Drag and drop in Desktop in desktop.
3. Close the browser.
4. Accept the request for short cut creation.
5. Launch the Applet from desktop shortcut.
#Actual behavior:
Can't launch the applet with a shortcut
#Expected behavior:
Applet should launch with shortcut and pass
#Fail cause:
JNLPFileServices.class didn't find into directory
'http://sqindia.india.sun.com/disk17/deployment/raghu/JNLPSupport/JAWSServices/class'
#Exception:
java.lang.ClassNotFoundException: JNLPFileServices.class
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The applet only fails to run from java web start because main-class is specified as:
main-class="JNLPFileServices.class" instead of "JNLPFileServices".
The plugin is too lax and allows "JNLPFileServices.class" to run.
- relates to
-
JDK-7020298 Invalid main class name needs to be allowed
-
- Closed
-