Commit Graph

10248 Commits

Author SHA1 Message Date
Joel Dice
554dd76495 Merge branch 'master' of dice:git/vm 2007-09-26 17:23:14 -06:00
Joel Dice
2f3f97d550 clean up compile.cpp and support both x86_64 and i386; further refactoring to support JIT 2007-09-26 17:23:03 -06:00
Eric Scharff
bb4a7c21c7 Implemented a simple but working implementation of the java logging API,
complete with a test class
2007-09-26 14:46:21 -06:00
Joel Dice
749ae86d49 Merge branch 'master' of dice:git/vm 2007-09-26 13:45:58 -06:00
Joel Dice
770e48c197 make Object.clone() work for arrays 2007-09-26 13:45:52 -06:00
Eric Scharff
a88f7c8473 Implemented proper enum toString() behavior and an enum test. it should
work, but it fails with the current build.
2007-09-26 12:59:18 -06:00
Eric Scharff
c7567b4081 Fixed typo 2007-09-26 11:45:44 -06:00
Eric Scharff
ea307cfdf8 Merge branch 'master' of dice.ecovate.com:/home/dicej/git/vm 2007-09-26 11:40:14 -06:00
Eric Scharff
c174ce34b6 Added several useful classes 2007-09-26 11:27:09 -06:00
Eric Scharff
bd6f2913c5 Runtime should implement IOException 2007-09-26 11:22:23 -06:00
Eric Scharff
4d3fd38d54 List now implements various forms of add() 2007-09-26 10:32:39 -06:00
Eric Scharff
219e381def Added Long.valueOf(String) 2007-09-26 10:32:02 -06:00
Eric Scharff
0f926f8f0b Added ArrayList.set 2007-09-26 10:02:58 -06:00
Eric Scharff
7d67d09b1a Added inflate method and stub method for reset() 2007-09-26 09:53:30 -06:00
Eric Scharff
0beba6cafa ArrayList now implements ListIterator (for reverse traversals of lists) 2007-09-26 09:48:59 -06:00
Eric Scharff
09efe501f5 Added TODO 2007-09-26 09:48:36 -06:00
Eric Scharff
8c248e382f Added methods to get and set properties, and stub method to save them 2007-09-26 09:48:21 -06:00
Eric Scharff
cacb5a6f1e Stub method for Math.random() 2007-09-26 09:47:25 -06:00
Eric Scharff
d06d1726c4 Added MAX_VALUE 2007-09-26 09:46:38 -06:00
Eric Scharff
876b02f641 Added method addAll to interface Map 2007-09-26 09:19:21 -06:00
Eric Scharff
b02b98609e Added methods isEmpty(), putAll(), toArray() to interfaces List and Map 2007-09-26 08:57:34 -06:00
Eric Scharff
4ae4221701 Integer should implement Comparable<Integer> 2007-09-26 08:44:56 -06:00
Joel Dice
1207989f72 fix build and runtime bugs introduced in last commit 2007-09-26 08:43:40 -06:00
Eric Scharff
2e813cff18 Added Calendar.setTime(), even though it does not work 2007-09-26 08:43:01 -06:00
Joel Dice
e7c8fb645a JIT works for Instructions.java 2007-09-25 17:53:11 -06:00
Joel Dice
1c90708abf bugfixes for recent refactoring effort 2007-09-24 07:46:48 -06:00
Joel Dice
8d983c8a39 refactoring effort to pave the way for JIT compilation 2007-09-23 19:39:03 -06:00
Joel Dice
65a3ee4277 superficial tweaks 2007-09-21 08:16:43 -06:00
Joel Dice
3838cd0e68 strip leading slashes from path in JarElement::find()/exists() 2007-09-21 08:15:39 -06:00
Eric Scharff
36f1d3206e The proper extension for Mac JNI libraries is .jnilib. Hard-coded constants
have been factored to common locations.  Furthermore, the LD_LIBRARY_PATH
environment variable is DYLD_LIBRARY_PATH on Mac OS X.
2007-09-20 10:13:41 -06:00
Joel Dice
a688a6f61a use lib%s.dylib to map library names on Darwin 2007-09-19 18:37:25 -06:00
Joel Dice
54cabf9240 align SP to 16 byte boundary on Darwin in cdecl.S 2007-09-19 18:36:35 -06:00
Joel Dice
1d68f87f75 remove unnecessary .type declaration from amd64.S 2007-09-19 18:12:08 -06:00
Joel Dice
a3ef7f2b94 slightly more efficient implementation of pad() 2007-09-19 18:11:19 -06:00
Joel Dice
9de7f39ceb Merge branch 'master' of dice:git/vm 2007-09-19 17:51:26 -06:00
Joel Dice
28f6f29477 eliminate instructions from *.S which restored the stack pointer unnecessarily 2007-09-19 17:29:20 -06:00
Eric Scharff
ebdc192f64 .type call was unnecessary - now removed 2007-09-19 10:35:13 -06:00
Eric Scharff
e5c8cb4e41 Reverted the assembly, since the Mac didn't support this anyway 2007-09-19 10:27:48 -06:00
Eric Scharff
c9332e4615 Mac unsigned argument is different than other platforms 2007-09-19 10:26:08 -06:00
Eric Scharff
f430f3f00e Various fixes (mostly making things more strict) to get the code to
compile on Mac OS X
2007-09-19 10:22:19 -06:00
Joel Dice
8b17df5b48 set verbose constants to false in heap.cpp 2007-09-19 08:33:43 -06:00
Joel Dice
cd990969cd fix allocation of large objects in allocate2(); remove references to jscheme and SWT in makefile and test directory 2007-09-19 08:16:49 -06:00
Joel Dice
cc84e61561 remove builtin.h from interpreter-depends, since it no longer exists 2007-09-19 07:48:55 -06:00
Joel Dice
49a3c08cc9 use dlopen()/dlsym() to resolve builtin JNI methods 2007-09-18 17:30:09 -06:00
Joel Dice
86999df5f2 factor Properties and PropertieResourceBundle out of ResourceBundle 2007-09-17 16:16:57 -06:00
Joel Dice
b0bb443fa2 fix i2l to preserve signedness 2007-09-17 16:16:17 -06:00
Joel Dice
1f6c2dbbb1 implement Set<Primitive>ArrayRegion() 2007-09-17 16:15:42 -06:00
Joel Dice
923c4661e8 implement Inflater and InflaterInputStream 2007-09-17 16:15:16 -06:00
Joel Dice
8af76b0da6 fix several bugs in Finder involving jar file parsing and extraction 2007-09-17 08:11:41 -06:00
Joel Dice
07102aefad System.setProperty() should return the previous value of the property, if any 2007-09-17 08:10:27 -06:00