From 1ac2fada4088471d71c40a0b3a44f510ebfe5828 Mon Sep 17 00:00:00 2001
From: ChengJin01 <jincheng@ca.ibm.com>
Date: Thu, 22 Feb 2024 11:16:36 -0500
Subject: [PATCH] [Jtreg/FFI] Disable TestAddressDereference in JDK22+

The change disables the failing FFI test suite detected
in JDK22+ for the moment and will be re-enabled once the
issue is resolved.

Related: #eclipse-openj9/openj9/issues/18999

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
---
 openjdk/excludes/ProblemList_openjdk22-openj9.txt | 1 +
 openjdk/excludes/ProblemList_openjdk23-openj9.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/openjdk/excludes/ProblemList_openjdk22-openj9.txt b/openjdk/excludes/ProblemList_openjdk22-openj9.txt
index fbe8a2286f..4d2aed711b 100644
--- a/openjdk/excludes/ProblemList_openjdk22-openj9.txt
+++ b/openjdk/excludes/ProblemList_openjdk22-openj9.txt
@@ -509,6 +509,7 @@ java/foreign/TestUpcallStack.java https://github.com/eclipse-openj9/openj9/issue
 java/foreign/nested/TestNested.java https://github.com/eclipse-openj9/openj9/issues/18942 aix-all
 java/foreign/TestVarArgs.java https://github.com/eclipse-openj9/openj9/issues/18943 aix-all
 java/foreign/TestHFA.java https://github.com/eclipse-openj9/openj9/issues/18944 linux-ppc64le
+java/foreign/TestAddressDereference.java https://github.com/eclipse-openj9/openj9/issues/18999 generic-all
 
 ############################################################################
 
diff --git a/openjdk/excludes/ProblemList_openjdk23-openj9.txt b/openjdk/excludes/ProblemList_openjdk23-openj9.txt
index fbe8a2286f..4d2aed711b 100644
--- a/openjdk/excludes/ProblemList_openjdk23-openj9.txt
+++ b/openjdk/excludes/ProblemList_openjdk23-openj9.txt
@@ -509,6 +509,7 @@ java/foreign/TestUpcallStack.java https://github.com/eclipse-openj9/openj9/issue
 java/foreign/nested/TestNested.java https://github.com/eclipse-openj9/openj9/issues/18942 aix-all
 java/foreign/TestVarArgs.java https://github.com/eclipse-openj9/openj9/issues/18943 aix-all
 java/foreign/TestHFA.java https://github.com/eclipse-openj9/openj9/issues/18944 linux-ppc64le
+java/foreign/TestAddressDereference.java https://github.com/eclipse-openj9/openj9/issues/18999 generic-all
 
 ############################################################################