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

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

XMLWordPrintable

    • generic
    • generic

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: