eolivelli commented on issue #1913: Cannot run Bookie with JDK8 if build on JDK-11 URL: https://github.com/apache/bookkeeper/issues/1913#issuecomment-456448486 This is actually a non-issue because we are releasing convenience binaries built on docker with jdk8. This problem may arise in the future. It is due to the new ByteBuffer#clear() covariant method which returns a ByteBuffer and not a Buffer as in JDK8. The problem is there since JDK9. I have created this issue in order to track the problem, not willing to fix it. The best fix would be to pass "release=8" argument to the javac compiler but this works only from jdk9+ Another fix is to cast explicitly the ByteBuffer variable to "Buffer" so that javac generates the "compatbile" bytecode
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
