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

Creating association fails when there are multiple extensions.

XMLWordPrintable

    • b104
    • generic
    • generic

      HasAssociation fails when there is multiple extensions with same mime type.

      Steps to reproduce:
      Create a JNLP with mulitple associations with same mime type.
           <association extensions="abc" mime-type="x-application/abc"/>
           <association extensions="xyz" mime-type="x-application/abc"/>

      Invoke hasAssociation -
      String mime = "x-application/abc";
              String []exts = {"abc","xyz"};
              boolean result = is.hasAssociation(mime,exts);
      Expected reuslt is true. where as it is returning false.

      TestCase: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/integrationService/HasMultipleAssociation.jnlp

            rkennke Roman Kennke
            rnairsunw Raghu Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: