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

RemoveAssociation return false when there is multiple extensions with same mime type.

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      RemoveAssociation return false when there is multiple extensions with same mime type.

      Steps to reproduce:
      Create a JNLP file with following entry.
      <association extensions="abc" mime-type="x-application/abc"/>
      <association extensions="xyz" mime-type="x-application/abc"/>
      Invoke removeAssociation.
              String mime = "x-application/abc";
              String [] exts = {"abc","xyz"};
              boolean result = is.removeAssociation(mime,exts);
      Expected to return true but returned false.

      TestCase: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/integrationService/RemoveMultipleAssociation.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: