Commit Graph

2014 Commits

Author SHA1 Message Date
Joel Dice
0d7a2fa2bc add methods to StringBuilder and fix logic error in getChars 2009-08-13 09:02:00 -06:00
Joel Dice
ae02212dd9 add a few methods to String; support ISO-8859-1 charset 2009-08-13 09:00:07 -06:00
Joel Dice
864a28f2ce throw IllegalArgumentException from Enum.valueOf if name does not match any value 2009-08-13 08:57:58 -06:00
Joel Dice
fb37f48237 add various methods to Class and fix getComponentType for primitive arrays 2009-08-13 08:57:06 -06:00
Joel Dice
58e3c3013a pass start and end indexes to String.getChars in Writer.write, not start and length 2009-08-13 08:55:35 -06:00
Joel Dice
42622d0d25 Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-08-12 19:41:05 -06:00
Joel Dice
0544ab381f fix Class.isArray for case this == Class.class 2009-08-12 19:40:52 -06:00
Joel Dice
dd82b58dad add String.lastIndexOf(String,int); defer to Pattern.split in String.split 2009-08-12 19:39:29 -06:00
Joel Dice
bf48f1e297 set java.version property in Avian_gnu_classpath_VMSystemProperties_preInit; add empty Avian_java_lang_VMClassLoader_resolveClass implementation 2009-08-12 19:37:29 -06:00
Joel Dice
61cb8b3deb handle zero-length lookup tables in lookupswitch 2009-08-12 19:32:12 -06:00
Joel Dice
bc884b4669 Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-08-11 18:50:04 -06:00
Joel Dice
22ae42b712 look for a native method implementation using the fast calling convention (Avian_*) before one using the standard convention (Java_*) to avoid false positives late in the search path 2009-08-11 18:49:58 -06:00
Josh warner
78ea4d20e3 added loneMatch to improve register allocation 2009-08-11 13:46:51 -06:00
Josh warner
f29199a285 fixed several operand type errors that appeared on 64-bit platforms 2009-08-11 13:30:31 -06:00
Josh warner
711680a183 fixed powerpc compile errors 2009-08-11 13:29:00 -06:00
Josh warner
cd59222f53 fixed propegation of result sizes 2009-08-11 13:27:25 -06:00
Josh warner
32167168f8 fixed incorrect opSize bug for 64-bit platforms 2009-08-11 13:25:22 -06:00
Joel Dice
535a152e86 Merge branch 'master' of ../avian-old 2009-08-11 12:42:14 -06:00
Joel Dice
935329d7cf fix 32-bit shift case in unsignedShiftRightC 2009-08-11 12:36:25 -06:00
Joel Dice
db58097165 re-enable finalization 2009-08-11 10:04:41 -06:00
Joel Dice
24abc8acfe Merge branch 'master' of ../avian 2009-08-11 09:43:29 -06:00
Joel Dice
83b0a217e0 disable debug trap 2009-08-11 09:40:54 -06:00
Joel Dice
a8b333fdc6 define LD and LX unconditionally for __x86_64__ since they should be the same for Windows and POSIX 2009-08-11 09:31:00 -06:00
Joel Dice
8ac06d8a47 initialize classloader map if necessary in Avian_java_lang_ClassLoader_defineClass 2009-08-11 09:25:35 -06:00
Joel Dice
df1aee5981 replace slashes with dots in class name passed to Class.forName in Method.getParameterTypes 2009-08-11 09:25:05 -06:00
Joel Dice
336e822ba9 remove debug logging 2009-08-11 09:23:38 -06:00
Joel Dice
b1014b24f9 specify java.specification.version in Avian_gnu_classpath_VMSystemProperties_preInit 2009-08-11 09:21:26 -06:00
Joel Dice
fb5b0570c3 replace slashes with dots in class name before passing it to ClassLoader.loadClass 2009-08-11 09:20:49 -06:00
Joel Dice
d868815737 put thread into runnable state in Thread.start 2009-08-10 17:36:11 -06:00
Joel Dice
28b5c46a0b fix GC safety bug in makeNewGeneral 2009-08-10 17:35:44 -06:00
Josh warner
af4d82ef7e Merge branch 'master' of git://oss.readytalk.com/avian 2009-08-10 13:42:57 -06:00
Josh warner
9910e310cb fixed register reserve logic in pickTarget 2009-08-10 13:42:37 -06:00
Josh warner
1d3ef1fc43 Merge branch 'master' of git://oss.readytalk.com/avian, fixed problems that occured in broader testing
Conflicts:
	src/compile.cpp
	src/compiler.cpp
	src/powerpc.cpp
	src/x86.S
	src/x86.cpp
2009-08-10 13:20:23 -06:00
jet
470e27d13c Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-08-10 10:30:41 -06:00
Joel Dice
001000364d add classloader parameter to functions which may directly or indirectly load classes; include methods inherited from interfaces (but not explicitly declared) in method tables and virtual tables of abstract classes 2009-08-10 07:56:16 -06:00
Joel Dice
54bb64cfb2 freeze sites for dead values in resolveOriginalSites
Previously, we simply removed the element from the sites array, but
this led to problems when the junction sites are shared among multiple
junctions such that the value at a given index is live at one junction
and dead at another.
2009-08-10 07:51:19 -06:00
Joel Dice
58c3a37277 specify classloader when calling Class.forCanonicalName in Field and Method; tolerate null argument array in Method.invoke 2009-08-10 07:48:44 -06:00
Joel Dice
5c72746d2c inherit thread group from current thread 2009-08-10 07:46:59 -06:00
Joel Dice
97ea23e3bb optionally specify classloader to Class.forCanonicalName 2009-08-10 07:46:05 -06:00
Joel Dice
1a2deff97d Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-08-09 14:43:53 -06:00
Joel Dice
2f864ebea5 fix LLD definition for MinGW 4.4 2009-08-07 16:28:47 -06:00
Joel Dice
2da6980eb5 print intptr_t's as pointers in compareIpToMethodBounds to avoid printf compatibility issues 2009-08-07 16:27:24 -06:00
Joel Dice
012d548bbb fix sign extension from int to long on x86_64 2009-08-07 14:48:30 -06:00
Joel Dice
e5947b5ec0 remove bashism from test.sh 2009-08-06 15:58:26 -06:00
jet
0be90bc769 added ARM modifications to makefile 2009-08-06 13:25:20 -06:00
Joel Dice
3e0c0c8116 revert recent accidental makefile changes 2009-08-06 12:10:44 -06:00
jet
7079a1728a Merge branch 'master' of git://oss.readytalk.com/avian 2009-08-06 11:52:45 -06:00
jet
1ffe46a545 added ARM interpreted mode supported 2009-08-06 11:52:36 -06:00
Josh warner
04583ea534 floating point test code 2009-08-06 10:34:28 -06:00
Josh warner
f8bbc609e8 corrected debug messages 2009-08-06 10:32:00 -06:00