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

David Holmes dholmes at openjdk.org
Mon Aug 15 13:32:24 UTC 2022


On Mon, 15 Aug 2022 13:23:40 GMT, Ao Qi <aoqi at openjdk.org> wrote:

>> 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

Shouldn't we throw a SkippedException in this case?

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

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


More information about the core-libs-dev mailing list