From fcd4987ca9cb68e5000c04309c4b2bf63b00fe62 Mon Sep 17 00:00:00 2001 From: Josef Eisl Date: Wed, 17 Aug 2022 10:28:43 +0000 Subject: [PATCH] svm: reset LambdaForm#transformCache on all JDK versions --- .../core/methodhandles/Target_java_lang_invoke_LambdaForm.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/methodhandles/Target_java_lang_invoke_LambdaForm.java b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/methodhandles/Target_java_lang_invoke_LambdaForm.java index a1869fdff60..aa5a47e7fae 100644 --- a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/methodhandles/Target_java_lang_invoke_LambdaForm.java +++ b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/methodhandles/Target_java_lang_invoke_LambdaForm.java @@ -30,9 +30,7 @@ import com.oracle.svm.core.annotate.RecomputeFieldValue; import com.oracle.svm.core.annotate.Substitute; import com.oracle.svm.core.annotate.TargetClass; -import com.oracle.svm.core.annotate.TargetElement; import com.oracle.svm.core.invoke.Target_java_lang_invoke_MemberName; -import com.oracle.svm.core.jdk.JDK19OrLater; import com.oracle.svm.util.ReflectionUtil; @TargetClass(className = "java.lang.invoke.LambdaForm") @@ -41,7 +39,6 @@ public final class Target_java_lang_invoke_LambdaForm { @Alias @RecomputeFieldValue(kind = RecomputeFieldValue.Kind.Reset)// Target_java_lang_invoke_MemberName vmentry; - @TargetElement(onlyWith = JDK19OrLater.class)// @Alias @RecomputeFieldValue(kind = RecomputeFieldValue.Kind.Custom, declClass = LambdaFormCacheTransformer.class)// volatile Object transformCache;