Skip to content

Conversation

jchambers
Copy link
Owner

This fixes a strange but seemingly well-known issue where new ByteBuffer methods introduced in Java 9 cause NoSuchMethodErrors under Java 8 and newer if class files are built with Java 9 or newer. The strategy here is to use the old source/target properties under Java 8 and older and the new maven.compiler.release under Java 9 and newer.

This fixes #27.

@Dhananjay-J-P
Copy link

Dhananjay-J-P commented Nov 19, 2021

@jchambers Appreciate your quick response to this issue. When can we expect the next release?

@jchambers jchambers added this to the 0.3.1 milestone Nov 19, 2021
@jchambers
Copy link
Owner Author

When can we expect the next release?

Probably this weekend.

@jchambers jchambers merged commit 0867ec9 into master Nov 19, 2021
@jchambers jchambers deleted the release_8 branch November 19, 2021 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
2 participants