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
Is it possible to provide a minimal reproducing sample project that triggers the issue when it is obfuscated with ProGuard? If you do have such a sample, please also state:
And configure ProGuard as 'obfuscate classes name, but don't shrink methods and their names.'
DO REMEBER TO ENABLE -dontwarn java.lang.invoke.MethodHandle
The expected behavior is outputing a "Hello World".
However, the actural behavior is thrown a ClassNotFound for Hello class, as the signature of invokeExact is (LHello;)V instead of something like L(LA;)v
The signature of MethodHandle and VarHandle directly use the argument type.
https://github.com/Guardsquare/proguard-core/blob/master/base/src/main/java/proguard/classfile/LibraryClass.java#L326
So the codes here cannot find the ref to MethodHandle and VarHandle and their signature cannot be changed when obfuscating jar with proguard.
The text was updated successfully, but these errors were encountered: