diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2584b75b77364..25035d790e7b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -79,12 +79,10 @@ jobs: JDK: "labsjdk-ce-17" GATE: "build,debuginfotest" PRIMARY: "substratevm" - GHA_EXPECTED_FAILURE: true # temporarily marked as expected failure due to #4018 / GR-35118 - env: JDK: "labsjdk-ce-11" GATE: "build,debuginfotest" PRIMARY: "substratevm" - GHA_EXPECTED_FAILURE: true # temporarily marked as expected failure due to #4018 / GR-35118 - env: JDK: "labsjdk-ce-11" GATE: "hellomodule" diff --git a/substratevm/src/com.oracle.svm.jni/src/com/oracle/svm/jni/hosted/JNINativeCallWrapperSubstitutionProcessor.java b/substratevm/src/com.oracle.svm.jni/src/com/oracle/svm/jni/hosted/JNINativeCallWrapperSubstitutionProcessor.java index ff6f342c43143..545bd1943e865 100644 --- a/substratevm/src/com.oracle.svm.jni/src/com/oracle/svm/jni/hosted/JNINativeCallWrapperSubstitutionProcessor.java +++ b/substratevm/src/com.oracle.svm.jni/src/com/oracle/svm/jni/hosted/JNINativeCallWrapperSubstitutionProcessor.java @@ -41,6 +41,9 @@ class JNINativeCallWrapperSubstitutionProcessor extends SubstitutionProcessor { @Override public ResolvedJavaMethod lookup(ResolvedJavaMethod method) { assert method.isNative() : "Must have been registered as a native substitution processor"; + if (method instanceof JNICallTrampolineMethod) { + return method; + } return callWrappers.computeIfAbsent(method, JNINativeCallWrapperMethod::new); }