-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
6u18
-
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
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
- duplicates
-
JDK-6894509 Creating association fails when there are multiple extensions.
- Resolved