mirror of
https://github.com/corda/corda.git
synced 2024-12-28 16:58:55 +00:00
Merge pull request #521 from exFalso/extend-proguard
Add Proxy, Executable, InvocationHandler, Enum members to openjdk.pro…
This commit is contained in:
commit
f7a651d6ba
20
openjdk.pro
20
openjdk.pro
@ -312,3 +312,23 @@
|
|||||||
*** match;
|
*** match;
|
||||||
*** next;
|
*** next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# These classes are accessed via bytecode generated on the fly.
|
||||||
|
-keepclassmembers class java.lang.reflect.Proxy {
|
||||||
|
<methods>;
|
||||||
|
}
|
||||||
|
|
||||||
|
-keepclassmembers class java.lang.reflect.InvocationHandler {
|
||||||
|
<methods>;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Don't strip special enum members.
|
||||||
|
-keepclassmembers,allowoptimization enum * {
|
||||||
|
public static **[] values();
|
||||||
|
public static ** valueOf(java.lang.String);
|
||||||
|
}
|
||||||
|
|
||||||
|
-keepclassmembers class java.lang.reflect.Executable {
|
||||||
|
<methods>;
|
||||||
|
}
|
||||||
|
|
||||||
|
4
vm.pro
4
vm.pro
@ -129,3 +129,7 @@
|
|||||||
-keepclassmembers class java.lang.ClassLoader {
|
-keepclassmembers class java.lang.ClassLoader {
|
||||||
public java.lang.Class loadClass(java.lang.String);
|
public java.lang.Class loadClass(java.lang.String);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-keepclassmembers class avian.Classes {
|
||||||
|
public java.security.ProtectionDomain getProtectionDomain(avian.VMClass);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user