Add Proxy, Executable, InvocationHandler, Enum members to openjdk.pro, getProtectionDomain to vm.pro

This commit is contained in:
Mike Hearn 2017-02-01 14:52:10 +00:00 committed by Andras Slemmer
parent 8ff5f2a26a
commit a1fbf282fe
2 changed files with 24 additions and 0 deletions

View File

@ -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>;
}

4
vm.pro
View File

@ -129,3 +129,7 @@
-keepclassmembers class java.lang.ClassLoader {
public java.lang.Class loadClass(java.lang.String);
}
-keepclassmembers class avian.Classes {
public java.security.ProtectionDomain getProtectionDomain(avian.VMClass);
}