hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [VOTE] Release HttpComponents Core 4.4.2 based on RC1
Date Tue, 25 Aug 2015 15:28:45 GMT
On Tue, Aug 25, 2015 at 3:22 AM, Oleg Kalnichevski <olegk@apache.org> wrote:

> 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.
>

Shouldn't the same change be made to trunk?

Gary


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


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message