Joel Dice
b71d5104ba
snapshot
2007-11-01 13:24:09 -06:00
Joel Dice
7a4cca45c2
fix subtle length vs. limit bug in ByteArrayInputStream
2007-10-31 10:11:14 -06:00
Joel Dice
df5a81a73c
Merge branch 'master' of dice:git/vm
2007-10-31 09:28:16 -06:00
Eric Scharff
1d04186a0c
Fixed bug in ByteBuffer.getLong()
2007-10-31 09:27:26 -06:00
Joel Dice
fb36d7c605
Merge branch 'master' of dice:git/vm
2007-10-31 08:24:52 -06:00
Eric Scharff
2fd2df53fd
Fixed thinko in ByteArrayInputStream
2007-10-30 16:52:24 -06:00
Eric Scharff
6afb667e03
Merge branch 'master' of dice.ecovate.com:/home/dicej/git/vm
2007-10-30 16:24:12 -06:00
Eric Scharff
57fe9ea466
Test tweak
2007-10-30 16:24:09 -06:00
Eric Scharff
1da69cf881
Test tweak
2007-10-30 16:23:51 -06:00
Eric Scharff
b3891debb2
Fixes build for Mac OS X.
...
If the binary is stripped on Mac OS X, dlsym fails, so builtin native library
calls do not work. The solution, in this case, is to not strip the binary.
2007-10-30 16:22:53 -06:00
Eric Scharff
b85c643251
Minor optimization for ByteArrayInputStream
2007-10-30 15:37:46 -06:00
Eric Scharff
907ce57975
Order of arraycopy backwards
2007-10-30 15:10:32 -06:00
Eric Scharff
df79f410f1
Optimize bulk reads from ByteArrayInputStream
2007-10-30 15:08:49 -06:00
Eric Scharff
958d39aa03
Add debug information for ByteBuffer
2007-10-30 14:55:00 -06:00
Joel Dice
94bae01b39
never call wasCollected() on a fixed object, since it will give a random result
2007-10-29 16:12:16 -06:00
Joel Dice
67faa23d83
Merge branch 'master' of dice:git/vm
2007-10-29 15:42:48 -06:00
Joel Dice
956106f518
implement StringBuilder.delete() more efficiently
2007-10-29 15:40:05 -06:00
Eric Scharff
c97b16b8bc
implement a few classpath methods required by SWT for Mac OS X
2007-10-29 15:23:13 -06:00
Eric Scharff
bcd2c75f41
Implements String.delete(char oldChar, String newChar), StringBuffer and
...
StringBuilder delete(int startIndex, int endIndex), and
replace (int startIndex, int endIndex, String replacementString)
2007-10-29 15:07:36 -06:00
Joel Dice
78ee14fff5
Merge branch 'master' of dice:git/vm
2007-10-29 14:57:40 -06:00
Joel Dice
75d4a4ff96
implement a few classpath methods required by SWT for Win32
2007-10-29 14:57:33 -06:00
Eric Scharff
8e95590dea
Added a temporary hack for logging.
...
if the System property rt.log.dir is set, standard logging messages are
written both to standard out and to the file log.txt inside the directory
provided. This allows us to get debugging information quickly.
2007-10-29 12:04:26 -06:00
Joel Dice
7aecdb6ce0
undo accidentally-committed makefile change
2007-10-28 18:54:21 -06:00
Joel Dice
a80677d673
fix aliasing warnings
2007-10-28 18:51:38 -06:00
Joel Dice
09cedfd7cb
make Boolean, Byte, Short, etc. implement Comparable
2007-10-28 18:51:08 -06:00
Joel Dice
7f1837fecd
move fixed object (mark and sweep) support into heap.cpp and refine algorithms for determining when and how much to GC
2007-10-28 13:14:53 -06:00
Joel Dice
60072b9fdc
implement fixed object support
2007-10-27 19:54:30 -06:00
Joel Dice
6710ca85d7
clean up JNIEXPORT definitions
2007-10-26 18:20:37 -06:00
Joel Dice
8e1637ec6b
Merge branch 'master' of dice:git/vm
2007-10-26 18:05:02 -06:00
Joel Dice
4b92017ea9
fix several win32 bugs in SocketSelector
2007-10-26 18:04:55 -06:00
Joel Dice
85012ba5b0
fix thinko in NewString() and make NewStringUTF() more robust
2007-10-26 18:04:20 -06:00
Joel Dice
fcc50f4da6
abort if vsnprintf() overflows in makeByteArray
2007-10-26 18:03:28 -06:00
Eric Scharff
8f604ca7e1
makefile cleanups
2007-10-26 16:16:47 -06:00
Eric Scharff
789cc8e9a2
On the Mac, building in the vm object is complicated. Instead,
...
rely on external files.
2007-10-26 16:10:12 -06:00
Joel Dice
46ac6f92ee
implement JNIEnv::NewString()
2007-10-26 15:23:54 -06:00
Joel Dice
476a0d70f2
Merge branch 'master' of dice:git/vm
...
Conflicts:
makefile
2007-10-26 15:03:53 -06:00
Joel Dice
f354abb4a0
build fixes and refactoring
2007-10-26 15:02:39 -06:00
Eric Scharff
e2ae3201f7
Fix for mac's lacking objcopy - rely on the version in MacPorts
2007-10-26 13:43:14 -06:00
Eric Scharff
4088387cf0
Fix typo in makefile - path must be specified to find
2007-10-26 13:32:19 -06:00
Joel Dice
e892f1bff5
refactor System.getProperty() to reduce coupling with native code
2007-10-26 12:13:21 -06:00
Joel Dice
ccdc7fdda3
eliminate bin2c and use objcopy instead to translate binary data to an object file
2007-10-26 11:38:36 -06:00
Joel Dice
d0089c4d88
makefile fixes
2007-10-26 08:34:54 -06:00
Joel Dice
448d48adc9
superficial makefile tweak
2007-10-25 18:03:26 -06:00
Eric Scharff
6342fc7ccb
Read 2- and 3-byte UTF8 constants gracefully (but not correctly)
2007-10-25 17:58:53 -06:00
Eric Scharff
25275933ce
Print line numbers correctly for native and unknown source
2007-10-25 17:57:56 -06:00
Joel Dice
74701b0790
fix thinko parsing properties in JNI_CreateJavaVM
2007-10-25 17:17:38 -06:00
Eric Scharff
34c5f184ed
Fix static cast to make gcc happy
2007-10-25 16:34:40 -06:00
Joel Dice
95621ac2d0
Merge branch 'master' of dice:git/vm
2007-10-25 16:06:10 -06:00
Joel Dice
20cc788fa4
support classloading from jar files compiled into the executable
2007-10-25 16:06:05 -06:00
Eric Scharff
a81b77a37e
fixes i2f i2d implementation. Fixes image drawing bugs on Mac OS X.
...
Also fixes a crash caused by implementing StringBuffer.toString(float)
2007-10-25 14:26:51 -06:00