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

Ao Qi aoqi at openjdk.org
Mon Aug 15 13:23:40 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)

Ao Qi has updated the pull request incrementally with one additional commit since the last revision:

  Test skipped, when no native linker on this platform

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9877/files
  - new: https://git.openjdk.org/jdk/pull/9877/files/c27d2508..b54d3fd0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9877&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9877&range=00-01

  Stats: 8 lines in 2 files changed: 6 ins; 0 del; 2 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