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

RemoveAssociation return false when there are two or more association and mime type.

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      RemoveAssociation return false when there are two or more association and mime type.

      Steps to reproduce:
      Create JNLP file with following entry.
         <association extensions="abc" mime-type="x-application/abc"/>
         <association extensions="xyz" mime-type="x-application/xyz"/>

      Invoke RemoveAssociation -
              String mime = "x-application/abc";
              String [] exts = {"abc"};
              String mime1 = "x-application/xyz";
              String [] exts1 = {"xyz"};
              boolean result = is.removeAssociation(mime,exts);
              boolean result1 = is.removeAssociation(mime1,exts1);
      Expected result and result1 to return true and remove association.

      Testcase: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/integrationService/RemoveMultipleAssociation1.jnlp

        Attachments

          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: