United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6772645 dragged-out FX applet can't be relaunched even with main=false set in JNLP file
6772645 : dragged-out FX applet can't be relaunched even with main=false set in JNLP file

Details
Type:
Bug
Submit Date:
2008-11-18
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2009-01-21
Component:
deploy
OS:
windows_xp
Sub-Component:
webstart
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u12
Fixed Versions:
6u12

Related Reports
Backport:

Sub Tasks

Description
If a dragged-out applet references to a JNLP file with "main=false" associated with the jar file entry such as the following:

<jar href="AppDeployDemo.jar" main="false"/>

we shouldn't try to load the main class from the listed jar file because it results in "main class not found" execption.

                                    

Comments
EVALUATION

If main=false is specified in the JNLP file, we shouldnt try to load the main class from the specified jar file but returning the main class name to the Launcher which will try to load the class using its classloader.
                                     
2008-11-18
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/deployment_data/6u12/6772645.2
                                     
2008-11-18



Hardware and Software, Engineered to Work Together