[foreign-memaccess+abi] RFR: Add `final` to AbstractMemorySegmentImpl::reinterpret

Jorn Vernee jvernee at openjdk.org
Mon Feb 20 15:45:30 UTC 2023


On Mon, 20 Feb 2023 15:36:10 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch fixes an issue introduced in a recent API change [1], which causes a failure in a caller sensitive method sanity test (e.g. all caller sensitive methods must be `final`).
> 
> [1] - https://git.openjdk.org/panama-foreign/pull/797

I was just about to take a look as well :)

Can you add the CheckCSMs test to the jdk_foreign test group as well?


diff --git a/test/jdk/TEST.groups b/test/jdk/TEST.groups
index 38032de11b3..fd4321d1367 100644
--- a/test/jdk/TEST.groups
+++ b/test/jdk/TEST.groups
@@ -359,7 +359,8 @@ jdk_svc = \

 jdk_foreign = \
     java/foreign \
-    -java/foreign/TestMatrix.java
+    -java/foreign/TestMatrix.java \
+    jdk/internal/reflect/CallerSensitive/CheckCSMs.java

 jdk_vector = \
     jdk/incubator/vector

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

PR: https://git.openjdk.org/panama-foreign/pull/802


More information about the panama-dev mailing list