diff --git a/native/java/org/jpype/proxy/JPypeProxy.java b/native/java/org/jpype/proxy/JPypeProxy.java index c99c93244..836deb74a 100644 --- a/native/java/org/jpype/proxy/JPypeProxy.java +++ b/native/java/org/jpype/proxy/JPypeProxy.java @@ -144,7 +144,6 @@ public Object invoke(Object proxy, Method method, Object[] args) } return MethodHandles.lookup() - .in(cls) .findSpecial(cls, method.getName(), MethodType.methodType(method.getReturnType()),