Open JasonFengJ9 opened 3 years ago
FYI https://github.com/eclipse/openj9/issues/11724. This seems like an internal build setup problem.
This jdk/internal/foreign/abi/ProgrammableInvoker.registerNatives()V
is related to Foreign Linker API
.
@tajila mentioned that OpenJ9 might take different approach and not require this native and its friends within jdk/internal/foreign/abi/ProgrammableInvoker
.
I create this issue to track this java/foreign/TestNative.java
error until OpenJ9 has its own implementation.
@smlambert this won't be resolved until the 0.26 release, what is the best way to exclude this test from jdk_foreign_native, considering it's already excluded in the regular exclude list?
Is it only to be excluded for jdk16? or 16+?
Since its moved into its own test target in the playlist file, its now easy to exclude (based on https://github.com/AdoptOpenJDK/openjdk-tests/blob/master/doc/userGuide.md#exclude-a-test-target), I can either manually change the playlist file to add a disabled section
<test>
<testCaseName>jdk_foreign_native</testCaseName>
<disabled>
<comment>https://github.com/AdoptOpenJDK/openjdk-tests/issues/123456</comment>
<impl>openj9</impl>
<subset>16+</subset>
</disabled>
...
or use the auto exclude feature we now have at the openjdk-tests repo and type
auto exclude test jdk_foreign_native impl=openj9 ver=16+
in a related openjdk-tests issue (which would then automatically create a PR to exclude the test target.
Let me know version (16 or 16+), and is it all platforms?
@smlambert all platforms and 16+
Soon enough, openj9 will have some auto exclude features: https://github.com/eclipse/openj9/pull/11785 ;)
OpenJ9
has its own jdk/internal/foreign/abi/ProgrammableInvoker
w/o registerNatives()
, the native binding are done differently from RI. This test can't apply to OpenJ9
.
Moving to backlog
.
Failure link
From an internal build
openjdk16-pipeline #3/jdk16-linux-x64-openj9 #1/Test_openjdk16_j9_sanity.openjdk_x86-64_linux #1/jdk_foreign_native_0
:To rebuild the failed tests in=https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder, use the following links:
11:26:53 https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/parambuild/?JDK_VERSION=16&JDK_IMPL=openj9&BUILD_LIST=openjdk&PLATFORM=x86-64_linux&TARGET=jdk_foreign_native_0
Optional info
Failure output (captured from console output)