mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38: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;
|
||||
*** 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>;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user