From a60dafaf4fb0870b4b7a86ee279db298154b9ac7 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 20 Jan 2008 15:00:19 -0700 Subject: [PATCH] only non-static fields need be preserved in bootstrap classes --- vm.pro | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/vm.pro b/vm.pro index c6a16c7808..449c36176a 100644 --- a/vm.pro +++ b/vm.pro @@ -8,27 +8,27 @@ # the VM depends on the fixed layout of the following classes: --keepclassmembers class java.lang.Class { ; } --keepclassmembers class java.lang.ClassLoader { ; } --keepclassmembers class java.lang.SystemClassLoader { ; } --keepclassmembers class java.lang.String { ; } --keepclassmembers class java.lang.Thread { ; } --keepclassmembers class java.lang.StackTraceElement { ; } --keepclassmembers class java.lang.Throwable { ; } --keepclassmembers class java.lang.Byte { ; } --keepclassmembers class java.lang.Boolean { ; } --keepclassmembers class java.lang.Short { ; } --keepclassmembers class java.lang.Character { ; } --keepclassmembers class java.lang.Integer { ; } --keepclassmembers class java.lang.Long { ; } --keepclassmembers class java.lang.Float { ; } --keepclassmembers class java.lang.Double { ; } --keepclassmembers class java.lang.ref.Reference { ; } --keepclassmembers class java.lang.ref.ReferenceQueue { ; } --keepclassmembers class java.lang.ref.WeakReference { ; } --keepclassmembers class java.lang.ref.PhantomReference { ; } --keepclassmembers class java.lang.reflect.Field { ; } --keepclassmembers class java.lang.reflect.Method { ; } +-keepclassmembers class java.lang.Class { !static ; } +-keepclassmembers class java.lang.ClassLoader { !static ; } +-keepclassmembers class java.lang.SystemClassLoader { !static ; } +-keepclassmembers class java.lang.String { !static ; } +-keepclassmembers class java.lang.Thread { !static ; } +-keepclassmembers class java.lang.StackTraceElement { !static ; } +-keepclassmembers class java.lang.Throwable { !static ; } +-keepclassmembers class java.lang.Byte { !static ; } +-keepclassmembers class java.lang.Boolean { !static ; } +-keepclassmembers class java.lang.Short { !static ; } +-keepclassmembers class java.lang.Character { !static ; } +-keepclassmembers class java.lang.Integer { !static ; } +-keepclassmembers class java.lang.Long { !static ; } +-keepclassmembers class java.lang.Float { !static ; } +-keepclassmembers class java.lang.Double { !static ; } +-keepclassmembers class java.lang.ref.Reference { !static ; } +-keepclassmembers class java.lang.ref.ReferenceQueue { !static ; } +-keepclassmembers class java.lang.ref.WeakReference { !static ; } +-keepclassmembers class java.lang.ref.PhantomReference { !static ; } +-keepclassmembers class java.lang.reflect.Field { !static ; } +-keepclassmembers class java.lang.reflect.Method { !static ; } # ClassLoader.getSystemClassloader() depends on the existence of this class: