Joel Dice
c3824c6844
fix crash when encountering invokespecial call to abstract method
...
We must throw an AbstractMethodError when such a call is executed (not
when the call is compiled), so we compile this case as a call to a
thunk which throws such an error.
2011-07-17 19:54:55 -06:00
Joel Dice
e16d5f83af
Merge remote branch 'origin/master' into r0.5
2011-01-25 17:30:21 -07:00
Joel Dice
475b286c7f
preserve ClassLoader.loadClass from obfuscation/shrinking
...
This method is called by name in the VM.
2011-01-17 20:23:01 -07:00
Joel Dice
306f1282d0
throw ArithmeticException on divide-by-zero
2010-12-19 17:47:21 -07:00
Joel Dice
c7b73e23ae
protect classes in avian package from obfuscation
2010-12-03 18:24:19 -07:00
Joel Dice
cb69ac23bd
Merge remote branch 'origin/master' into openjdk
...
Conflicts:
classpath/java/lang/String.java
src/posix.cpp
2010-11-03 11:54:41 -06:00
Joel Dice
cdcc9caeb2
initial work towards ProGuard-enabled OpenJDK builds
2010-10-24 11:52:14 -06:00
Joel Dice
cf14a2c222
add exception for Object.clone() to vm.pro
...
Proguard gets confused about clone() and array classes (see
http://sourceforge.net/tracker/index.php?func=detail&aid=2851344&group_id=54750&atid=474704 ).
2010-10-15 23:06:03 +00:00
Joel Dice
4034a219d0
do nothing in System.arraycopy if length <= 0
...
Previously, we risked segfaults by passing negative numbers to memcpy.
This commit also makes arraycopy throw an IndexOutOfBounds exception
instead of an ArrayStoreException if the specified offsets and lengths
would take us outside the bounds of one or both of the arrays, per the
Sun documentation.
2010-07-13 18:40:29 -06:00
Joel Dice
2868413b51
preserve exception classes from obfuscation in vm.pro
...
We preserve from obfuscation by ProGuard any class of exception thrown
from either the VM or native class library code.
2010-01-27 13:44:02 -07:00
Joel Dice
c5deeb2cda
preserve Thread.run(Thread) from elimination by ProGuard
2009-07-29 10:33:39 -06:00
Joel Dice
2d2940b13e
add continuation classes and methods to vm.pro
2009-05-31 23:02:50 -06:00
Joel Dice
d4e977db28
update vm.pro to reflect new SystemClassLoader location
2009-05-31 22:48:38 -06:00
JET
e86acf4543
added separator to String and added IOException to vm.pro
2009-01-02 13:25:05 -07:00
Eric Scharff
e93ea33f82
Never inline calls to ResourceBundle.getBundle(...)
2008-02-28 12:38:44 -07:00
Joel Dice
063c964d65
refine rule for classes extending Enum in vm.pro
2008-01-30 17:10:49 -07:00
Joel Dice
e15206ba77
update vm.pro to protect a few more classes and a method
2008-01-28 17:34:14 -07:00
Joel Dice
a60dafaf4f
only non-static fields need be preserved in bootstrap classes
2008-01-20 15:00:19 -07:00
Joel Dice
f4e1473772
update vm.pro to protect system classes from obfuscation and preserve java.lang.SystemClassLoader
2008-01-18 18:51:37 -07:00
Joel Dice
c894543806
add proguard include file to support minimal classpaths
2008-01-18 17:56:12 -07:00