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

jdk23 OpenJDK sun/misc/UnsafeMemoryAccessWarnings --sun-misc-unsafe-memory-access=allow unrecognised #19583

Closed
pshipton opened this issue May 30, 2024 · 4 comments · Fixed by adoptium/aqa-tests#5371

Comments

@pshipton
Copy link
Member

pshipton commented May 30, 2024

https://openj9-jenkins.osuosl.org/job/Test_openjdknext_j9_sanity.openjdk_aarch64_linux_Nightly_testList_0/21
sun/misc/UnsafeMemoryAccessWarnings.java

JVMJ9VM007E Command-line option unrecognised: --sun-misc-unsafe-memory-access=allow

ibmruntimes/openj9-openjdk-jdk@82245b7...6a0e7b9
8331670: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal

@pshipton
Copy link
Member Author

@TobiAjila fyi

@pshipton pshipton changed the title jdk23 OpenJDK sun/misc/UnsafeMemoryAccessWarnings--sun-misc-unsafe-memory-access=allow unrecognised jdk23 OpenJDK sun/misc/UnsafeMemoryAccessWarnings --sun-misc-unsafe-memory-access=allow unrecognised May 30, 2024
@tajila
Copy link
Contributor

tajila commented May 31, 2024

@JasonFengJ9 Please take a look at this

@ChengJin01
Copy link

ChengJin01 commented May 31, 2024

This is the new JEP required in JDK23 for the failure at https://openjdk.org/jeps/471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal as users are encouraged to replace Unsafe methods with the FFM related APIs.

pshipton added a commit to pshipton/openjdk-tests that referenced this issue May 31, 2024
Until OpenJ9 implements support.

Issue eclipse-openj9/openj9#19583

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@pshipton
Copy link
Member Author

Created an exclude for the test adoptium/aqa-tests#5362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants