Good job.   So yeah, back to adopting Java 11 moving forward.

On Wed, Nov 17, 2021 at 9:23 AM Thomas Wolf <[email protected]> wrote:

> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to