JDK-6827651 : With 1.6.0_13 JNLP files cannot specify to run with j2se version 1.4*
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2009-04-08
  • Updated: 2011-02-16
  • Resolved: 2009-05-19
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
6u14 b05Fixed
Description
FULL PRODUCT VERSION :
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
Our JNLP files that specify the j2se version as 1.4.2_13 fail to load in the new Java-PlugIn under 1.6.0_13 (our jar file was compiled with 1.4.2_13).  If we set the version to 1.6 the files load without any problem.  If we drop back to 1.6.0_12 the files also run just fine.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a JNLP file that sets the j2se version to 1.4.2_13

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
That the JNLP file would load and execute as normal.
ACTUAL -
The Java-PlugIn begins to start and then disappears.

REPRODUCIBILITY :
This bug can be reproduced always.

Release Regression From : 6u12
The above release value was the last known release where this 
bug was not reproducible. Since then there has been a regression.

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u14/6827651.0/
10-04-2009

EVALUATION In 6u13, Java Web Start will launch JNLP applets using JNLP2Viewer code. If the applet requires 1.4.2 JRE to launch, applet won't start and fail with error dialog. Root cause is we are calling JFrame.add or JFrame.setLayout directly, which doesn't work in 1.4.2. Fix: If we running in 1.4.2, use JFrame.getContentPane().add or JFrame.getContentPane.setLayout instead.
10-04-2009