Hi,

I'm fighting with some compilations issues most certainly due to a change in java > 8 ByteBuffer. I had to change the LDAP API AbstractContainer rewind method :

    public void rewind()
    {
        int start = stream.position() - 1 - tlv.getLengthNbBytes();
        ( ( Buffer ) stream ).position( start );
    }


when it was :

    public void rewind()
    {
        int start = stream.position() - 1 - tlv.getLengthNbBytes();
        stream.position( start );
    }

otherwise the compiler complain that ByteBuffer.position(int) is not available. There is some report about this issue:

https://github.com/eclipse/jetty.project/issues/3244

It seems that we have a mixed up of generated code in different versions of some sort.

Although my env is set to use Java 8 only, I'm facing this issue this morning when it was worki,ng yesterday....


I'm wondering if anyone has any clue about it?

--
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
[email protected] https://www.busit.com/

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

Reply via email to