From 475b286c7f6c80078b48a403036e35f4669b8fa7 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 17 Jan 2011 20:23:01 -0700 Subject: [PATCH] preserve ClassLoader.loadClass from obfuscation/shrinking This method is called by name in the VM. --- vm.pro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vm.pro b/vm.pro index edfd2e1679..1dccb36b6a 100644 --- a/vm.pro +++ b/vm.pro @@ -116,3 +116,9 @@ -keepclassmembers class java.lang.Object { protected java.lang.Object clone(); } + +# called by name in the VM: + +-keepclassmembers class java.lang.ClassLoader { + public java.lang.Class loadClass(java.lang.String); + }