mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
Add Proxy, Executable, InvocationHandler, Enum members to openjdk.pro, getProtectionDomain to vm.pro
This commit is contained in:
parent
8ff5f2a26a
commit
a1fbf282fe
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