Skip to content

Commit

Permalink
JDK22+ disable JEP 454 tests
Browse files Browse the repository at this point in the history
JDK next extension openj9 branch and Valhalla don't have latest OpenJDK
API updates yet.

Signed-off-by: Jason Feng [email protected]
  • Loading branch information
JasonFengJ9 committed Oct 25, 2023
1 parent afa97fa commit 61e08fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/Java22andUp/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<target name="build">
<if>
<not>
<matches string="${JDK_VERSION}" pattern="^(8|9|1[0-9]|2[0-1])$$" />
<matches string="${JDK_VERSION}" pattern="^(8|9|1[0-9]|2[0-2])$$" />
</not>
<then>
<antcall target="clean" inheritall="true" />
Expand Down
10 changes: 10 additions & 0 deletions test/functional/Java22andUp/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../TestConfig/playlist.xsd">
<test>
<testCaseName>Jep454Tests_testLinkerFfi_DownCall</testCaseName>
<disables>
<disable>
<comment>https://github.com/eclipse-openj9/openj9/issues/18349</comment>
</disable>
</disables>
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) $(JAVA_COMMAND) $(JVM_OPTIONS) \
--enable-native-access=ALL-UNNAMED \
-Dforeign.restricted=permit \
Expand All @@ -49,6 +54,11 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex

<test>
<testCaseName>Jep454Tests_testLinkerFfi_UpCall</testCaseName>
<disables>
<disable>
<comment>https://github.com/eclipse-openj9/openj9/issues/18349</comment>
</disable>
</disables>
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) $(JAVA_COMMAND) $(JVM_OPTIONS) \
--enable-native-access=ALL-UNNAMED \
-Dforeign.restricted=permit \
Expand Down

0 comments on commit 61e08fc

Please sign in to comment.