On 17.11.21 14:37 , Jonathan Valliere wrote:
The error you posted was related to java.lang.NoSuchMethodError:
java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer; and not the SSLFilter. You
sure there wasn’t something else
wrong with your env cause I’m pretty sure ByteBuffer.fip() has been around
since ByteBuffer.

But there was a co-variant return type override. In Java 1.8, ByteBuffer.flip() is inherited from Buffer and returns a Buffer.

In Java > 1.8, ByteBuffer.flip() is an override returning ByteBuffer.

So when you compile with Java > 1.8 w/o --release 8 and then run on Java 1.8, you'll get that NoSuchMethodError.

Cheers,

  Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to