JDK-6373274 : Jar resources nested in JRE resources block are broken.
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2,6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-01-17
  • Updated: 2010-04-04
  • Resolved: 2006-01-31
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
6 b70Fixed
Related Reports
Duplicate :  
Description
Jnlp Specfication allows you to nest different resources depending on which jre is used as follows:
   <resources>

      <j2se version="1.4">
         <resources>
            <jar href="draw.jar" main="true" download="eager"/>
         </resources>
      </j2se>
      <j2se version="1.5">
         <resources>
            <jar href="draw15.jar" main="true" download="eager"/>
         </resources>
      </j2se>
      <j2se version="1.6">
         <resources>
            <jar href="draw16.jar" main="true" download="eager"/>
         </resources>
      </j2se>
   </resources>

however in both 1.5.0 and 6.0 the main jar cannot be found if it is in such a nested resource. (using javaws 1.4.2 with such a jnlp file causes a core dump on solaris) Resources other than the main jar (such as properties and non-main jars) seem to work.

Comments
EVALUATION The problem is just that the jre selection needs to be done earlier, before the list of resources is used. - Also, when importing, or uninsalling an app, the JRE selection may need to be done also.
17-01-2006