JDK-7100135 : Two HttpsURLConnection tests fail (regression)
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 5.0u33
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-10-12
  • Updated: 2014-07-03
  • Resolved: 2011-10-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0u33 b09Fixed
Related Reports
Relates :  
Description
Following tests failed:

HttpsURLConnection/HttpsTestCase1
HttpsURLConnection/TestHttpsURL

with exception:
java.util.NoSuchElementException
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
	at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1480)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:164)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1081)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
	at java.net.URL.openStream(URL.java:1007)
	at HttpsTestCase1.main(HttpsTestCase1.java:60)

But tests passes with JDK 1.5.0u32 b05