diff --git a/vm.pro b/vm.pro index ad77a5eb57..0ed4eb5f12 100644 --- a/vm.pro +++ b/vm.pro @@ -8,9 +8,9 @@ # the VM depends on the fixed layout of the following classes: +-keepclassmembers class avian.SystemClassLoader { !static ; } -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 ; } @@ -54,7 +54,7 @@ # ClassLoader.getSystemClassloader() depends on the existence of this class: --keep class java.lang.SystemClassLoader +-keep class avian.SystemClassLoader # the VM references these classes by name, so protect them from obfuscation: