Hi Arturo

Thank you making the release happen. Unfortunately I discovered a
problem with the binary artifacts published to Maven central. 

The release artifacts have been correctly built Java 1.8 bytecode
compatible but they have been built against Java 17 libraries which
makes them unusable with Java 1.8 runetime.

```
[ERROR]   TestURIUtils.testExtractHost:126 » NoSuchMethod
java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
[ERROR]   TestURIUtils.testHttpLocationRedirect:204 » NoSuchMethod
java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
[ERROR]   TestURIUtils.testHttpLocationWithAbsoluteFragment:192 »
NoSuchMethod java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
[ERROR]   TestURIUtils.testHttpLocationWithRedirectFragment:222 »
NoSuchMethod java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
[ERROR]   TestURIUtils.testHttpLocationWithRelativeFragment:173 »
NoSuchMethod java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
[ERROR]   TestURIUtils.testResolve:49 » NoSuchMethod
java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
[ERROR]   TestURIUtils.testResolveOpaque:111 » NoSuchMethod
java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
```

I suspect your Maven toolchain configuration is wrong. It likely uses
Java 17 JDK to build Java 1.8 artifacts instead of Java 1.8 JDK.

Please double-check your Maven toolchain config.

At the moment I am not able to upgrade HttpClient master to HttpCore
5.5-beta1 due to above mentioned problem with ByteBuffer
incompatibility.

Oleg 

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

Reply via email to