Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6731298

JNLPSupport: Issues with download JRE mechanism with applets using JNLP

XMLWordPrintable

    • generic
    • windows

      Inconsistent behavior has been noticed with JRE download mechanism especially with applets using JNLPs pointing to family version e.g. 1.5.0*. In case of family versions it has been noticed that version of JRE to be downloaded depends on version of JRE which has been downloaded recently e.g.
      - if 1.5.0_10 has been downloaded then download request coming from 1.5.0* will trigger download of 1.5.0_10
      - if 1.5.0_15 has been downloaded then download request coming from 1.5.0* will trigger download of 1.5.0_15

      Steps to reproduce:
      ---------------------
      1) Take a clean machine where download scenario has not been tried before and install 6u10
      2) Make sure that there is no JRE on the machine from 1.5.0 family
      3) Try loading the following applet (requesting 1.5.0_10)
      http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/MultiJRE/manual/JRE1.5.0_10Test.html
      4) Handle pop-ups to get 1.5.0_10 installed on the machine
      5) Remove 1.5.0_10
      6) Now load the following applet (using 1.5.0*)
      http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/MultiJRE/manual/JRE1.5FamilyTest.html
      This time you can notice that it's again triggering download of 1.5.0_10
      7) Cancel download and load following applet (requesting 1.5.0_15)
      http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/MultiJRE/manual/JRE1.5.0_15Test.html
      8) Handle pop-ups to download and install the 1.5.0_15
      9) Remove 1.5.0_15
      10) Load the same family version applet in #6
      This time you can notice that it's triggering download of 1.5.0_15
      If you can notice the above mentioned behavior then bug is reproduced

      Also download of 1.5.0_16 and above is not working at all and always failing with following exception. This could be hosting of bundles issue
      JNLPException
      at sun.plugin2.applet.JNLP2Manager.downloadJREResource(Unknown Source)
      at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
      at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

            herrick Andy Herrick (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: