JDK-6772645 : dragged-out FX applet can't be relaunched even with main=false set in JNLP file
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u12
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-11-18
  • Updated: 2010-09-17
  • Resolved: 2009-01-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u12 b02Fixed 7Fixed
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
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u12/6772645.2
18-11-2008

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.
18-11-2008