You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
00:21:10 Caused by: java.lang.ClassCastException: java.lang.invoke.DirectHandle incompatible with java.lang.invoke.BoundMethodHandle
00:21:10 at java.base/java.lang.invoke.VarHandles.noCheckedExceptions(VarHandles.java:636)
00:21:10 at java.base/java.lang.invoke.VarHandles.filterCoordinates(VarHandles.java:476)
00:21:10 at java.base/java.lang.invoke.MethodHandleImpl$1.filterCoordinates(MethodHandleImpl.java:1781)
00:21:10 at jdk.incubator.foreign/jdk.incubator.foreign.MemoryHandles.filterCoordinates(MemoryHandles.java:374)
00:21:10 at jdk.incubator.foreign/jdk.internal.foreign.Utils.fixUpVarHandle(Utils.java:102)
00:21:10 at jdk.incubator.foreign/jdk.internal.foreign.LayoutPath.dereferenceHandle(LayoutPath.java:166)
00:21:10 at jdk.incubator.foreign/jdk.incubator.foreign.MemoryLayout.lambda$varHandle$2(MemoryLayout.java:488)
00:21:10 at jdk.incubator.foreign/jdk.incubator.foreign.MemoryLayout$$Lambda$36/0x0000000000000000.apply(Unknown Source)
00:21:10 at jdk.incubator.foreign/jdk.incubator.foreign.MemoryLayout.computePathOp(MemoryLayout.java:534)
00:21:10 at jdk.incubator.foreign/jdk.incubator.foreign.MemoryLayout.varHandle(MemoryLayout.java:488)
00:21:10 at TestNative.<clinit>(TestNative.java:90)
The text was updated successfully, but these errors were encountered:
Identical to #10455. The ClassCastException should be resolved by ibmruntimes/openj9-openjdk-jdk16#9. But, TestNative.java falls under the Foreign Linker API (JEP389; incubator), which won't be supported in the 0.25 release. So, I will exclude this test.
A case where we have been 'tricky' with some native tests... we excluded them in the Problemlists, and then run them via a different TKG target called jdk_foreign_native.
This was so, we can run all remaining tests in jdk_foreign target everywhere and jdk_foreign_native is tagged as 'native' type and not included when run in docker container runs or environments where we do not have the native test libraries and need to run only sanity.openjdk.regular (versus sanity.openjdk.native), related: adoptium/aqa-tests#1921.
https://ci.eclipse.org/openj9/job/Test_openjdk16_j9_sanity.openjdk_x86-64_windows_Nightly/1/
https://ci.eclipse.org/openj9/job/Test_openjdk16_j9_sanity.openjdk_x86-64_mac_Nightly/1/
https://ci.eclipse.org/openj9/job/Test_openjdk16_j9_sanity.openjdk_x86-64_linux_Nightly/1/
java/foreign/TestNative.java
The text was updated successfully, but these errors were encountered: