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

DownloadService.removeResource is broken for versioned resources using wildcards

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • deploy
    • None
    • b24
    • generic
    • generic


      The DownloadService removeResource() fails to remove resources for versioned resources if the jnlp file specifies a wildcard version such as 1.0+
      It breaks in ResourcesDesc.getResource(location, version) because it has the test: (vs.contains(jd.getVersion())
      where jd.getVersion() is the wildcard spec, I think this should have been:
      (jd.getVersion().contains(vs))

      ###@###.### 2005-1-31 20:47:54 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: