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

Creating association fails when there are multiple extensions.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b104
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkennke Roman Kennke
              Reporter:
              rnairsunw Raghu Nair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: