On Thu, 2019-06-06 at 20:16 -0400, Gary Gregory wrote:
> Testing on Java 11.0.3 gives me a stack overflow error:
> 
> mvn clean install -V -P!use-toolchains
> 

Gary,

Before I proceed with another RC could you please take a look at the
bug fix branch?

https://github.com/apache/httpcomponents-core/tree/bug-fixes

Oleg

> Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
> 2019-04-04T15:00:29-04:00)
> Maven home: C:\Java\apache-maven-3.6.1\bin\..
> Java version: 11.0.3, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jdk-11.0.3
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family:
> "windows"
> ...
> [INFO] Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed:
> 26.362 s - in
> org.apache.hc.core5.testing.nio.Http1SocksProxyIntegrationTest
> [INFO] Running org.apache.hc.core5.testing.nio.Http2AlpnTest
> Exception in thread "server-dispatch-1" java.lang.StackOverflowError
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
> ...
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
>         at
> org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiator.excep
> tion(ServerHttpProtocolNegotiator.java:179)
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed:
> 7.181 s - in org.apache.hc.core5.testing.nio.Http2AlpnTest
> [INFO] Running org.apache.hc.core5.testing.nio.Http2IntegrationTest
> [INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed:
> 30.763 s - in org.apache.hc.core5.testing.nio.Http2IntegrationTest
> ...
> 
> The build then continues, does not fail the test or the build. It
> sure
> looks alarming though.
> 
> This also happens with Oracle Java 9 and the same Maven command:
> 
> Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
> 2019-04-04T15:00:29-04:00)
> Maven home: C:\Java\apache-maven-3.6.1\bin\..
> Java version: 9.0.4, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jdk-9.0.4
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family:
> "windows"
> 
> This also happens with OpenJDK 12 and the same Maven command:
> 
> Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
> 2019-04-04T15:00:29-04:00)
> Maven home: C:\Java\apache-maven-3.6.1\bin\..
> Java version: 12.0.1, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\openjdk\jdk-12.0.1
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family:
> "windows"
> 
> It does NOT happen on  OpenJDK 13 build 13-ea+23:
> 
> Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
> 2019-04-04T15:00:29-04:00)
> Maven home: C:\Java\apache-maven-3.6.1\bin\..
> Java version: 13-ea, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\openjdk\jdk-13
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family:
> "windows"
> 
> It does not happen on Java 7.
> 
> Gary
> 
> 
> On Thu, Jun 6, 2019 at 9:00 AM Oleg Kalnichevski <[email protected]>
> wrote:
> 
> > Please vote on releasing these packages as HttpCore 5.0-beta8.
> > The vote is open for the at least 72 hours, and only votes from
> > HttpComponents PMC members are binding. The vote passes if at least
> > three binding +1 votes are cast and there are more +1 than -1
> > votes.
> > 
> > Release notes:
> > 
> > 
https://dist.apache.org/repos/dist/dev/httpcomponents/httpcore-5.0-beta8-RC1/RELEASE_NOTES-5.0.x.txt
> > 
> > Maven artefacts:
> > 
> > 
https://repository.apache.org/content/repositories/orgapachehttpcomponents-1096/org/apache/httpcomponents/core5/
> > 
> > Git Tag: 5.0-beta8-RC1
> >  https://github.com/apache/httpcomponents-core/tree/5.0-beta8-RC1
> > 
> > Packages:
> > 
> > 
https://dist.apache.org/repos/dist/dev/httpcomponents/httpcore-5.0-beta8-RC1
> >  revision 34435
> > 
> > Hashes:
> >  249686ee84d82a61c21425a7e9678209f6e7964eae3d15d5e9a81d97caee590bf1
> > d143d39453ef4e92817e988cc548aa09cfe33e258f25e463762bd9b9f98a21
> > httpcomponents-core-5.0-beta8-src.zip
> >  719acc44c66fd735c307ba2869e329a1e60fd4ebcc7553cd8b29123d5a99874142
> > 968afa99768d6d3479ffac349ad853ad75ca23c49db94d74b284835720fc3d
> > httpcomponents-core-5.0-beta8-src.tar.gz
> >  83148c003da36517ded903823c8c84519a479bfa488659123d5fe29bd48c53e60b
> > 65cacfd1e63b7cdce368d066a22eff7b033720ec368204ee80869c49ca56f5
> > httpcomponents-core-5.0-beta8-bin.tar.gz
> >  1cadd53054cb7347165ee88698defc6ae73552b1efdabadaacfdc4d52f9423c84b
> > 5e190aadb0eb47876fb9077315013fa02421685e7f356ea0c7b8ea72e3708c
> > httpcomponents-core-5.0-beta8-bin.zip
> > 
> > Keys:
> >  http://www.apache.org/dist/httpcomponents/httpcore/KEYS
> > 
> > -----------------------------------------------------------------
> > ---------
> > Vote: HttpCore 5.0-beta8 release
> > [ ] +1 Release the packages as HttpCore 5.0-beta8.
> > [ ] -1 I am against releasing the packages (must include a reason).
> > 
> > 
> > -----------------------------------------------------------------
> > ----
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> > 
> > 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to