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
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
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
Joel Dice
0c36b7b3b6
change popDouble return type to double
2009-08-05 15:00:27 -06:00
Joel Dice
6d27274aea
update Class.PrimitiveFlag value to reflect change in machine.h; make Class.getName work for primitive types
2009-08-05 15:57:51 +00:00
Joel Dice
2de750768b
add java.lang.reflect.Modifier.isInterface
2009-08-05 14:14:45 +00:00
Joel Dice
b6e49d8a4c
refine gnu-overrides definition in makefile
2009-08-04 18:31:33 -06:00
Joel Dice
7050448ec5
implement Class.{get|set}Signers
2009-08-04 18:31:14 -06:00
Joel Dice
e18ab49f4d
always pass null instance to native version of Method.invoke when invoking static methods
2009-08-04 18:30:16 -06:00
Joel Dice
63fa0668ff
avoid poor performance due to deeply-nested branches in MultiRead::intersect
2009-08-04 18:28:34 -06:00
Joel Dice
e9ee4a618c
implement Avian_java_lang_VMClassLoader_defineClass
2009-08-04 18:27:04 -06:00
Joel Dice
626c514373
add listFiles and isFile methods to java.io.File
2009-08-04 17:59:07 -06:00
Joel Dice
590238bbfc
add indexOf and lastIndexOf methods to java.util.List
2009-08-04 17:58:31 -06:00
Joel Dice
0a7f94abfe
add java.util.Collection.toArray()
2009-08-04 17:36:25 -06:00
Joel Dice
7911989055
add AbstractList and AbstractSequentialList classes to java.util and listIterator methods to java.util.List
2009-08-04 17:24:29 -06:00
Joel Dice
93597a4d1d
implement ArrayList.listIterator()
2009-08-04 11:34:46 -06:00
Joel Dice
d5f4811b43
check for exception after calling resolveClass in parseInterfaceTable
2009-08-04 08:50:04 -06:00
Joel Dice
f8bf83bfec
fix recent regression in findInHierarchy
2009-08-04 08:42:16 -06:00
Joel Dice
aa6e3048b3
set os.arch property in Avian_gnu_classpath_VMSystemProperties_preInit
2009-08-03 16:18:41 -06:00
Joel Dice
9f2abd5d8a
fix out-of-date JNI method implementations to reflect newer static field table layout
2009-08-03 16:18:16 -06:00
Joel Dice
cb563f76e1
check superinterfaces when looking up methods and fields
2009-08-03 16:16:41 -06:00
Joel Dice
4ae3a1267a
remove unused method
2009-08-03 16:16:01 -06:00
Joel Dice
c3a8ca505c
avoid function pointer cast warning from GCC 3.4
2009-08-03 10:56:43 -06:00
Joel Dice
08dd7d0a5a
Merge branch 'gnu'
2009-08-03 09:01:16 -06:00
Joel Dice
80d4385cb8
implement blocking mode for SocketChannel and ServerSocketChannel
2009-08-03 08:58:56 -06:00
Joel Dice
54ceb80116
implement stub versions of java.security classes
2009-08-03 08:56:19 -06:00