hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [VOTE] Release HttpComponents Core 4.4.2 based on RC1
Date Tue, 25 Aug 2015 10:22:15 GMT
On Mon, 2015-08-24 at 22:13 -0700, Gary Gregory wrote:
> Running 'mvn test', I get:
> 
> testSSLHanskshakeProtocolMismatch2(org.apache.http.ssl.TestSSLContextBuilder)
>  Time elapsed: 0.031 sec  <<< ERROR!
> java.lang.Exception: Unexpected exception,
> expected<javax.net.ssl.SSLHandshakeException> but
> was<java.net.SocketException>
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:152)
>         at java.net.SocketInputStream.read(SocketInputStream.java:122)
>         at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
>         at sun.security.ssl.InputRecord.read(InputRecord.java:480)
>         at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934)
>         at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>         at
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>         at
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>         at
> org.apache.http.ssl.TestSSLContextBuilder.testSSLHanskshakeProtocolMismatch2(TestSSLContextBuilder.java:603)
> 
> Using:
> 
> Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06;
> 2015-04-22T04:57:37-07:00)
> Maven home: C:\Java\apache-maven-3.3.3\bin\..
> Java version: 1.7.0_79, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_79\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> 
> Gary
> 

Gary,

I relaxed the expected exception type from SSLHandshakeException (which
is what it ought to be) to IOException to make the test pass on Windows.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message