Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Support JDK21 (and drop JDK7 support) #765

Merged
merged 4 commits into from
Sep 24, 2023
Merged

feature: Support JDK21 (and drop JDK7 support) #765

merged 4 commits into from
Sep 24, 2023

Conversation

xerial
Copy link
Member

@xerial xerial commented Sep 24, 2023

This also drops JDK7 support.

An error:

Caused by: java.lang.ClassNotFoundException: java.nio.MemoryBlock
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:421)
	at java.base/java.lang.Class.forName(Class.java:412)
	at org.msgpack.core.buffer.DirectBufferAccess.<clinit>(DirectBufferAccess.java:84)

Related: Remove private DirectByteBuffer(long, int) constructor before JDK 21 GA https://bugs.openjdk.org/browse/JDK-8303083. In JDK21, DirectByteBuffer(long, long) constructor can be used.

@xerial xerial changed the title feature: Support JDK21 feature: Support JDK21 (and drop JDK7 support) Sep 24, 2023
@xerial xerial merged commit ba1beab into main Sep 24, 2023
7 checks passed
@xerial xerial deleted the jdk21 branch September 24, 2023 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant