RFR: 8292362: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed on some platforms

Ao Qi aoqi at openjdk.org
Mon Aug 15 12:32:07 UTC 2022


For example, java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed on LoongArch64 (probably other platforms unsupported in src/java.base/share/classes/jdk/internal/foreign/CABI.java might have the same issue):
 

Exception in thread "main" java.lang.UnsupportedOperationException: Unsupported os, arch, or address size: Linux, loongarch64, 64
at java.base/jdk.internal.foreign.CABI.current(CABI.java:69)
at java.base/jdk.internal.foreign.abi.SharedUtils.getSystemLinker(SharedUtils.java:237)
at java.base/java.lang.foreign.Linker.nativeLinker(Linker.java:198)
at ImplicitAttach.main(ImplicitAttach.java:48)

-------------

Commit messages:
 - 8292362: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed on some platforms

Changes: https://git.openjdk.org/jdk/pull/9877/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9877&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292362
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/9877.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9877/head:pull/9877

PR: https://git.openjdk.org/jdk/pull/9877


More information about the core-libs-dev mailing list