You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
javassist.CannotCompileException: The package of the requested class: javassist.util.proxy is different from the package of the lookup class: java.net: java.net.SocketImpl has no permission to define the class
Is there anything I could do here? I want to delegate all methods but one.
env
Compiling with JDK >= 11 (any) to maven.compiler.release = 8.
I tried Java 11, 14 and 15 from zulu, adopt-openjdk-hotspot and adopt-openjdk-openj9.
The text was updated successfully, but these errors were encountered:
Hi,
I would like to proxy the class
java.net.SocketImpl
.I created an implementation of SocketImplFactory like so:
When I run the code, I get:
Is there anything I could do here? I want to delegate all methods but one.
env
Compiling with JDK >= 11 (any) to maven.compiler.release = 8.
I tried Java 11, 14 and 15 from zulu, adopt-openjdk-hotspot and adopt-openjdk-openj9.
The text was updated successfully, but these errors were encountered: