JDK-7017521 : jdk7 b128 many reg tests fail ex. jdk/test/com/sun/net/httpserver Test6a.java fails on solaris-amd64
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • CPU: x86
  • Submitted: 2011-02-07
  • Updated: 2011-03-10
  • Resolved: 2011-03-10
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.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description
jdk7 b128 jdk/test/com/sun/net/httpserver Test6a.java fails on solaris-amd64

following regression tests are failing:
Test6a.java
Test7a.java
Test8a.java
Test9a.java
Test12.java
..
..

following sqe tests are also failing because of same reason:
jhttp/HttpServer3002
jhttp/HttpServer7002 
jhttp/HttpServer9002 
jhttp/JhttpClient4001
jhttp/JhttpClient8002   

jsn-sfx2200-3:/home/pande/f7/b128/httpserver 151 % uname -a
SunOS jsn-sfx2200-3 5.11 onnv-gate:2010-09-24 i86pc i386 i86pc

jsn-sfx2200-3:/home/pande/f7/b128/httpserver 152 % java -version
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b128)
Java HotSpot(TM) Server VM (build 20.0-b07, mixed mode)

test output:
===========
jsn-sfx2200-3:/home/pande/f7/b128/httpserver 153 % java Test6a
Test6a: Exception in thread "main" javax.net.ssl.SSLHandshakeException: Remote h
ost closed connection during handshake
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:877)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.
java:1259)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1286
)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1270
)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:
523)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(AbstractDelegateHttpsURLConnection.java:185)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1087)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Htt
psURLConnectionImpl.java:250)
        at Test6a.main(Test6a.java:63)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at sun.security.ssl.InputRecord.read(InputRecord.java:352)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:858)
        ... 8 more
====================================================================================
Note: 1. fails only on solaris-amd64.
      2. observed that failing from b126 onwards in solaris-amd64.
         (pass in b125)
      3. passes in all b128 for linux,linux-amd64,solaris-sparc
                                windows-i586,windows-amd64