Skip to content

Commit 018caf1

Browse files
committed
Add substitution for overloading of MethodHandles.checkSecurityManager
1 parent c42fbe8 commit 018caf1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/methodhandles/Target_java_lang_invoke_MethodHandles_Lookup.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,9 @@ private IllegalAccessException makeAccessException(Class<?> targetClass) {
8888
@Substitute
8989
void checkSecurityManager(Class<?> refc) {
9090
}
91+
92+
@SuppressWarnings("unused")
93+
@Substitute
94+
void checkSecurityManager(Class<?> refc, Target_java_lang_invoke_MemberName m) {
95+
}
9196
}

0 commit comments

Comments
 (0)