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

getCachedResources inconsistent behaviour with respect to version.

XMLWordPrintable

    • generic
    • generic

      getCachedResources inconsistent behaviour with respect to version.

      Here is an example:
      Step1: javaws -uninstall
      Step2:
      Launch http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest//downloadService2/getCachedResource_ALL.jnlp

      Since Verions is not specified it should list only the items which doesnt have version - I am getting the expected behavior - Only 7 resources are listed.
      test.jar (1.0,2.1,2.1.1 and 2.0 ) are not listed.

      Now call this -
      Step1: javaws -uninstall
      Step2 : Launch http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest//downloadService2/getCachedResource_JAR.jnlp
      with null version.
      Expected resource is only 1 which is ds.jar.
      But here it is listing all jars (test.jar with 1.0,2.1,2.1.1 and 2.0).

      This is related to the bug - 6897147 which I have already reported.
      Roman , sorry for filing two bugs :). But since it is diffrent scenario (inconsistecy between JAR and ALL) from the other one.

            Unassigned Unassigned
            rnairsunw Raghu Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: