-
Notifications
You must be signed in to change notification settings - Fork 734
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
JDK22 new API support #18296
JDK22 new API support #18296
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the change to Linker.Option.isTrivial()
, the test code in test/functional/Java21andUp/src/org/openj9/test/jep442
will no longer compile.
FYI @ChengJin01
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
We will need to disable the |
79e5ebd
to
44fd90e
Compare
Moved the JEP 442 test from |
test/functional/Java22andUp/src/org/openj9/test/jep454/upcall/MultiUpcallMHTests.java
Outdated
Show resolved
Hide resolved
The |
44fd90e
to
a41ed7e
Compare
Removed |
Several of the tests for Java22+ fail like this:
The |
Yeah, will update that API usage as well, also tracked it at |
Implemented JavaLangAccess APIs: ensureNativeAccess(Module mod, Class<?> clzOwner, String methodName, Class<?> clzCaller), bytesCompatible(String str, Charset charset), copyToSegmentRaw(String str, MemorySegment ms, long offset); Updated LinkerOptions.isCritical() usage; Limited JEP 442 tests to JDK21; Created Java22andUp for JDK22 JEP 454 tests. Signed-off-by: Jason Feng <[email protected]>
a41ed7e
to
77da18f
Compare
|
Jenkins test sanity zlinux jdk21 |
The failure of |
JDK22 new API support
Implemented
JavaLangAccess
APIs:ensureNativeAccess(Module mod, Class<?> clzOwner, String methodName, Class<?> clzCaller)
,bytesCompatible(String str, Charset charset)
,copyToSegmentRaw(String str, MemorySegment ms, long offset)
;Updated
LinkerOptions.isCritical()
usage;Limited
JEP 442
tests toJDK21
;Created
Java22andUp
forJDK22 JEP 454
tests.required by
Signed-off-by: Jason Feng [email protected]