Commit Graph

194 Commits

Author SHA1 Message Date
be5600d79d fix Integer.toHexString to treat its argument as unsigned 2007-12-26 12:17:52 -07:00
f116225933 fix 64-bit arithmetic support on x86-32 2007-12-22 17:00:35 -07:00
a867e4d587 snapshot 2007-12-21 17:26:55 -07:00
6954c9c377 Fixes for PushbackReader (which only can push back one char) and StringReader. 2007-12-18 12:19:52 -07:00
8b2577b77c Add method to create one hashtable from a map, useful in converting a
HashMap into a Hashtable.
2007-12-18 11:23:59 -07:00
7224c98766 Trivial implementation of java.util.Random 2007-12-17 15:43:51 -07:00
5af58548b7 Removed unused variable in StringBuilder. 2007-12-14 16:16:40 -07:00
216224dcc4 fix length tracking bugs in StringBuilder 2007-12-13 09:19:58 -07:00
ec653fbc1e Use the default line separator when logging 2007-12-11 10:26:28 -07:00
fc78e122c0 Merge branch 'master' of dice:git/vm 2007-12-03 16:36:57 -07:00
9f5c2f4122 implement Arrays.sort 2007-12-03 16:32:54 -07:00
3f8a370ba8 Implemented Runtime.exec, Process.waitFor and Process.exitValue for non-windows 2007-11-30 16:39:51 -07:00
266c256116 Added IllegalThreadStateException, which is used by java.lang.Process 2007-11-30 16:11:06 -07:00
8f652ce12d Implemented native Process.exitValue and Process.waitFor on windows 2007-11-29 18:01:07 -07:00
b6ad93856d Merge branch 'master' of dice.readytalk.com:/home/dicej/git/vm 2007-11-28 17:52:23 -07:00
bf102aa1a8 implemented Runtime.exec(String) and Runtime.exec(String[]) 2007-11-28 17:52:08 -07:00
51c198f0f0 Implemented java.lang.Math.random() properly (seeding the random number
on first use, and then using the system random number generator)
2007-11-28 17:06:04 -07:00
d24b633665 fix return value of ByteArrayOutputStream.size() 2007-11-27 16:59:49 -07:00
74235ea33c add ByteArrayOutputStream.size() 2007-11-27 10:30:55 -07:00
6fe0c4636f various bugfixes and tweaks in reflection 2007-11-20 13:40:07 -07:00
80f23a5040 implement Class.getEnumConstants 2007-11-17 11:39:29 -07:00
4f047ded8c make ArrayList.set() do bounds checking 2007-11-15 11:53:33 -07:00
a6a1f8ba98 make ByteBuffer implement Comparable 2007-11-15 11:53:01 -07:00
69f1024887 add missing classpath methods 2007-11-14 09:32:36 -07:00
d1048f9bcb implement ByteBuffer.get(byte[]) 2007-11-09 14:32:33 -07:00
7b8fb7233e add PersistentSet.toString(), fix a bug when removing the last element, and add a couple sanity checks 2007-11-09 08:08:35 -07:00
fef3cddb9e fix build breakage due to missing isEmpty() methods 2007-11-07 09:48:09 -07:00
4611c89dbe add a few classpath methods 2007-11-06 17:41:53 -07:00
76d876c039 Removed custom logging code, which is factored correctly elsewhere. 2007-11-06 11:20:12 -07:00
94e9bd0fd2 clean up bootstrap type generation to eliminate redundancy (broken) 2007-11-04 14:15:28 -07:00
7dfbd87a40 bugfixes 2007-11-02 15:42:19 -06:00
e820b6a8a4 sketch of singleton support 2007-11-02 15:08:14 -06:00
b71d5104ba snapshot 2007-11-01 13:24:09 -06:00
7a4cca45c2 fix subtle length vs. limit bug in ByteArrayInputStream 2007-10-31 10:11:14 -06:00
1d04186a0c Fixed bug in ByteBuffer.getLong() 2007-10-31 09:27:26 -06:00
2fd2df53fd Fixed thinko in ByteArrayInputStream 2007-10-30 16:52:24 -06:00
b85c643251 Minor optimization for ByteArrayInputStream 2007-10-30 15:37:46 -06:00
907ce57975 Order of arraycopy backwards 2007-10-30 15:10:32 -06:00
df79f410f1 Optimize bulk reads from ByteArrayInputStream 2007-10-30 15:08:49 -06:00
958d39aa03 Add debug information for ByteBuffer 2007-10-30 14:55:00 -06:00
67faa23d83 Merge branch 'master' of dice:git/vm 2007-10-29 15:42:48 -06:00
956106f518 implement StringBuilder.delete() more efficiently 2007-10-29 15:40:05 -06:00
c97b16b8bc implement a few classpath methods required by SWT for Mac OS X 2007-10-29 15:23:13 -06:00
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
78ee14fff5 Merge branch 'master' of dice:git/vm 2007-10-29 14:57:40 -06:00
75d4a4ff96 implement a few classpath methods required by SWT for Win32 2007-10-29 14:57:33 -06:00
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
09cedfd7cb make Boolean, Byte, Short, etc. implement Comparable 2007-10-28 18:51:08 -06:00
4b92017ea9 fix several win32 bugs in SocketSelector 2007-10-26 18:04:55 -06:00
e892f1bff5 refactor System.getProperty() to reduce coupling with native code 2007-10-26 12:13:21 -06:00