Commit Graph

123 Commits

Author SHA1 Message Date
Joel Dice
dd17a27485 support os.name in System.getProperty 2007-08-23 19:58:10 -06:00
Joel Dice
d1dbb45d55 implement Arrays.toString() 2007-08-23 19:57:42 -06:00
Joel Dice
8377016b0f StringTokenizer bugfixes 2007-08-23 18:21:56 -06:00
Joel Dice
e9cafcad37 add StringBuilder.append(boolean) 2007-08-23 18:20:42 -06:00
Joel Dice
38e2abb818 specify class name when throwing CloneNotSupportedException 2007-08-22 21:22:44 -06:00
Joel Dice
f907d9e08f implement StringTokenizer 2007-08-22 21:22:16 -06:00
Joel Dice
3526fbfcb7 initial sketch of java/util/StringTokenizer 2007-08-22 20:25:08 -06:00
Joel Dice
84028e7f51 fix reversed logic in LinkedList.addFirst()/addLast() 2007-08-21 22:01:37 -06:00
Joel Dice
a68505ff48 implement Hashtable.toString() (defer to HashMap) 2007-08-21 22:00:46 -06:00
Joel Dice
27c8511c5e bugfixes 2007-08-20 18:24:54 -06:00
Joel Dice
e2f3e80bdf heap o' bugfixes 2007-08-19 20:57:32 -06:00
Joel Dice
7a340fd8fb bugfixes 2007-08-19 14:24:26 -06:00
Joel Dice
59638543c7 various performance tweaks and bugfixes 2007-08-19 13:45:51 -06:00
Joel Dice
77136e77cb String.indexOf() should take an int, not a char 2007-08-18 15:22:43 -06:00
Joel Dice
aa5e751e69 clean up Array.get(), Array.set(), and Method.invoke() implementations 2007-08-18 11:53:30 -06:00
Joel Dice
d169e4eadf clean up Field.get() and Field.set() implementations 2007-08-18 11:15:03 -06:00
Joel Dice
f22dda0df1 bugfixes 2007-08-14 19:14:55 -06:00
Joel Dice
71c7013808 more bugfixes 2007-08-14 07:27:10 -06:00
Joel Dice
587dbeb163 bugfixes 2007-08-13 20:35:49 -06:00
Joel Dice
d0e519d992 bugfixes 2007-08-13 19:44:47 -06:00
Joel Dice
ab3ca38580 various bugfixes 2007-08-13 18:37:00 -06:00
Joel Dice
c20219df19 flesh out serialization/deserialization code and fix build 2007-08-12 18:50:25 -06:00
Joel Dice
92ba1880d8 sketch of serialization/deserialization code (broken) 2007-08-12 15:01:47 -06:00
Joel Dice
d3931b4853 flesh out resource URL scheme implementation 2007-08-10 17:45:47 -06:00
Joel Dice
2e9b9fe8d4 flesh out URL and friends 2007-08-02 19:49:32 -06:00
Joel Dice
1997ea6b8c acquire class lock before running static initializer; wrap exceptions thrown from static initializers in ExceptionInInitializerError instances 2007-08-01 17:48:36 -06:00
Joel Dice
6ddb8c839c check identities in String.equals(), etc. 2007-08-01 17:46:05 -06:00
Joel Dice
b56eed68be implement Thread.[get|set]ContextClassloader() 2007-07-31 18:08:20 -06:00
Joel Dice
38d4ee6e07 flesh out ClassLoader, etc. 2007-07-30 17:19:05 -06:00
Joel Dice
da692a539f inherit thread locals at thread creation time, not start time 2007-07-29 19:27:42 -06:00
Joel Dice
5e336544f5 classpath progress 2007-07-29 17:38:35 -06:00
Joel Dice
a2bd7d0668 GC stress fixes and other bugfixes; classpath progress 2007-07-29 17:32:23 -06:00
Joel Dice
51943427ad classpath progress 2007-07-28 20:15:45 -06:00
Joel Dice
a9e10d1c7f more classpath progress 2007-07-28 19:29:01 -06:00
Joel Dice
c96a4a5b39 implement String.intern() 2007-07-28 18:02:32 -06:00
Joel Dice
0e373727a2 implement Thread.interrupt() 2007-07-28 15:28:25 -06:00
Joel Dice
abd9c2bc8d fix primitive class resolution to avoid mistaking normal classes with names like 'B' for primitive classes 2007-07-28 10:55:24 -06:00
Joel Dice
41bee5829e misc. bugfixes and tweaks 2007-07-28 10:10:13 -06:00
Joel Dice
363801af1c classpath progress 2007-07-27 17:56:19 -06:00
Joel Dice
c9f9b039e6 classpath progress 2007-07-26 20:39:53 -06:00
Joel Dice
7212ba1c30 java/io bugfixes and coverage; jni bugfixes; minor refactoring 2007-07-26 18:06:05 -06:00
Joel Dice
9ab88ef619 a static jni method takes the jclass for that method as its second argument; simplify pad() and divide(), and rename divide() to ceiling(); sketch FileInputStream.cpp and FileOutputStream.cpp 2007-07-25 18:48:28 -06:00
Joel Dice
97aaa419b4 quick sketch of java/io/* 2007-07-24 18:34:45 -06:00
Joel Dice
527f46d53d bugfixes; add NullPointerException.java 2007-07-23 21:31:28 -06:00
Joel Dice
823d764998 working reflection 2007-07-23 21:16:59 -06:00
Joel Dice
5f3bf175e0 start work on reflection; bugfixes 2007-07-23 19:44:20 -06:00
Joel Dice
472ecb1713 flesh out some classpath classes 2007-07-22 13:06:21 -06:00
Joel Dice
ecd31a10a4 fun with collections 2007-07-21 21:47:29 -06:00
Joel Dice
da17490206 fun with collections 2007-07-21 21:47:08 -06:00
Joel Dice
90d60b3459 more classpath classes 2007-07-21 16:36:51 -06:00
Joel Dice
fd770fd884 sketch a few more classpath classes 2007-07-21 14:44:39 -06:00
Joel Dice
48226f988c add a bunch of classes to classpath and flesh out a few existing ones 2007-07-21 11:50:26 -06:00
Joel Dice
de9213ce30 finish java/lang/ref/* support; add wrapper classes for primitives 2007-07-19 21:18:25 -06:00
Joel Dice
faf9b63798 more work on java/lang/ref/* support 2007-07-19 19:07:30 -06:00
Joel Dice
b213ec0ef8 sketch of java/lang/ref/* 2007-07-19 18:18:47 -06:00
Joel Dice
4670055b03 implement primitive testing framework and provide for GC stress testing 2007-07-15 19:03:02 -06:00
Joel Dice
3121002ffd implement Throwable.resolveTrace(); bugfixes 2007-07-14 12:37:04 -06:00
Joel Dice
2df8a60a78 support object arrays of various element types and dimensions; clean up weak hash map support 2007-07-14 11:31:01 -06:00
Joel Dice
0099aa396b make builtin class type a bootstrap version of java/lang/Class 2007-07-12 17:46:08 -06:00
Joel Dice
01d858e1bc more bugfixes, mainly monitor-related 2007-07-10 22:19:26 -06:00
Joel Dice
93748f2df9 heap o' bugfixes 2007-07-10 19:38:06 -06:00
Joel Dice
a77693fb29 snapshot; known bug: finalizers and weak references don't work correctly wrt tenured objects 2007-07-07 19:06:32 -06:00
Joel Dice
f71c77298c bugfixes 2007-07-07 17:47:35 -06:00
Joel Dice
e5bea7a455 progress on thread support 2007-07-07 12:09:16 -06:00
Joel Dice
c3320c2c97 flesh out classpath enough to test threading; fix indexing bug in parsePool() 2007-07-04 16:27:08 -06:00
Joel Dice
d3735e9e58 add TestThreads.java 2007-07-01 22:04:03 -06:00
Joel Dice
bb16d8e62b snapshot (broken) 2007-07-01 19:42:35 -06:00
Joel Dice
38cea04322 progress towards thread support
This includes support for using the least significant bits of the class
pointer to indicate object state, which we'll use to indicate the
presence of a monitor pointer, among other things.
2007-07-01 15:34:22 -06:00
Joel Dice
b33f0c311d push method frame for native invocations (so we'll see them in stack traces) 2007-06-29 20:41:49 -06:00
Joel Dice
b8e009075c stack trace work 2007-06-29 20:39:01 -06:00
Joel Dice
c34ee64988 classloading bugfixes and stack trace work 2007-06-29 19:37:45 -06:00
Joel Dice
e529d60a69 hello, world 2007-06-29 10:42:39 -06:00
Joel Dice
400b3633d7 more JNI work 2007-06-24 19:34:07 -06:00