Skip to content

Commit

Permalink
svm: work around "JDK-8340831: Simplify simple validation for class d…
Browse files Browse the repository at this point in the history
…efinition in MethodHandles.Lookup" [GR-58553]
  • Loading branch information
zapster committed Sep 27, 2024
1 parent 903330b commit fc5b974
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,7 @@ private static boolean allocateInstance(JNIEnvironment jni, JNIObjectHandle thre
};

private static final BreakpointSpecification[] CLASS_PREDEFINITION_BREAKPOINT_SPECIFICATIONS = {
brk("java/lang/invoke/MethodHandles$Lookup$ClassFile", "<init>", "(Ljava/lang/String;I[B)V", BreakpointInterceptor::onMethodHandleClassFileInit),
optionalBrk("java/lang/invoke/MethodHandles$Lookup$ClassFile", "<init>", "(Ljava/lang/String;I[B)V", BreakpointInterceptor::onMethodHandleClassFileInit),
};

private static BreakpointSpecification brk(String className, String methodName, String signature, BreakpointHandler handler) {
Expand Down

0 comments on commit fc5b974

Please sign in to comment.