-
Bug
-
Resolution: Fixed
-
P3
-
6u18, 6u21
-
b104
-
generic
-
generic
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
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
- duplicates
-
JDK-6894518 RemoveAssociation return false when there is multiple extensions with same mime type.
- Closed
-
JDK-6972010 HasAssociation with Multiple Assocation is failing in 6u21 (Regression)
- Closed