-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
P2
-
None
-
Affects Version/s: 6
-
Component/s: core-libs
-
x86
-
windows_xp
A DESCRIPTION OF THE REGRESSION :
I have a signed applet which uses a URLConnection to retrieve content via HTTPS. Under the most recent Mustang beta, calling getContentType always returns null even though there is a MIME type set. This worked on 1.4.1_01 all the way to 5.0 Update 6.
-Wyatt
REPRODUCIBLE TESTCASE OR STEPS TO REPRODUCE:
In a SIGNED applet do the following:
URL url=new URL("http://www.sun.com/");
System.out.println(url.openConnection().getContentType());
You should see null in the console
RELEASE LAST WORKED:
5.0 Update 6
RELEASE TEST FAILS:
mustang-beta
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Calling getContentType should return the MIME type of the document being retrieved.
ACTUAL -
Calling getContentType always returns null
Release Regression From : mustang
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
I have a signed applet which uses a URLConnection to retrieve content via HTTPS. Under the most recent Mustang beta, calling getContentType always returns null even though there is a MIME type set. This worked on 1.4.1_01 all the way to 5.0 Update 6.
-Wyatt
REPRODUCIBLE TESTCASE OR STEPS TO REPRODUCE:
In a SIGNED applet do the following:
URL url=new URL("http://www.sun.com/");
System.out.println(url.openConnection().getContentType());
You should see null in the console
RELEASE LAST WORKED:
5.0 Update 6
RELEASE TEST FAILS:
mustang-beta
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Calling getContentType should return the MIME type of the document being retrieved.
ACTUAL -
Calling getContentType always returns null
Release Regression From : mustang
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.