Joel Dice
df3baeb83b
handle null value properly in SetObjectArrayElement
2009-08-19 07:36:52 -06:00
Joel Dice
0a2e611baa
handle case of null thread local in SegFaultHandler::handleSignal
2009-08-18 15:47:08 -06:00
Joel Dice
0eba1eeaf2
leave thread in JoinedState instead of ZombieState in DetachCurrentThread
2009-08-18 15:29:25 -06:00
Joel Dice
01dcb1661b
don't resolve all constant pool entries in linkClass - just the field and method specs
2009-08-18 15:27:21 -06:00
Joel Dice
6449c8275a
fix process=interpret build
2009-08-18 14:41:21 -06:00
Joel Dice
c4edabdc02
implement ClassLoader.resolveClass and ensure class is linked in e.g. Class.getMethods; minor bugfixes
2009-08-18 14:26:28 -06:00
Joel Dice
c27aa559e5
comment out use of currently-unsupported regex functionality in Strings test
2009-08-18 14:21:40 -06:00
Joel Dice
dae0842c95
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2009-08-17 13:10:36 -06:00
Joel Dice
062f6968a1
only emit a crash dump for access violations
2009-08-14 15:58:19 -06:00
Joel Dice
20c1ea08e6
remove a test from Misc.java since it's been moved to Strings.java
2009-08-14 08:53:33 -06:00
Joel Dice
7fcbf9d85c
fix reading 2-byte UTF-8 constants
2009-08-14 08:52:31 -06:00
Joel Dice
6d54b6cec8
add classes which I meant to add in earlier commits
2009-08-14 08:51:10 -06:00
Joel Dice
d983e8883c
use our version of SoftReference when using GNU Classpath
2009-08-13 09:18:01 -06:00
Joel Dice
3facd3f735
treat SoftReferences as WeakReferences; do vtable or interface table lookups as necessary in MyProcessor::invoke; various bugfixes
2009-08-13 09:17:05 -06:00
Joel Dice
b3a5823536
set JNIEnvVTable::NewWeakGlobalRef to NewGlobalRef since we don't yet have a weak version
2009-08-13 09:07:05 -06:00
Joel Dice
99e5e65bd8
implement sun.misc.Unsafe methods; set gnu.cpu.endian property
2009-08-13 09:05:37 -06:00
Joel Dice
9553d56977
add AccessibleObject.setAccessible(AccessibleObject[],boolean)
2009-08-13 09:03:44 -06:00
Joel Dice
f96fa82607
add methods to Throwable
2009-08-13 09:03:04 -06:00
Joel Dice
017116d060
add ThreadGroup(String) constructor
2009-08-13 09:02:32 -06:00
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
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
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