Commit Graph

259 Commits

Author SHA1 Message Date
9388b6e2ce pass O_TRUNC to open in FileOutputStream.open 2008-06-26 15:58:14 -06:00
575df206cd fix System.currentTimeMillis on Windows 2008-06-17 09:05:57 -06:00
af794d9be0 implement Date.toString, which just defers to ctime for now (part 2) 2008-06-16 11:45:23 -06:00
4694d75553 implement Date.toString, which just defers to ctime for now 2008-06-16 10:08:51 -06:00
14e2513590 fix some API compatibility issues in the class library 2008-05-07 17:44:43 -06:00
24d0ea0d9b use StackTraceElement.toString in Throwable.printStackTrace 2008-04-21 16:31:50 -06:00
819588546e implement a few StackTraceElement methods 2008-04-21 16:30:41 -06:00
d9ec8e20bf implement Thread.getStackTrace, activeCount, and enumerate 2008-04-11 16:48:39 -06:00
e9eacd900d add Class.isInterface 2008-04-01 16:48:58 -06:00
c9ef443944 add Modifier.isNative and isAbstract 2008-04-01 16:42:50 -06:00
91494d9081 add constructor to ByteBuffer 2008-03-28 18:08:08 -06:00
6cddd10e0a various code cleanups, bug fixes, and compatibility fixes in NIO code 2008-03-25 16:17:29 -06:00
3a208edbbc update NIO code to be more compatible with Java 2008-03-25 11:18:17 -06:00
1b098c9267 implement ArithmeticException 2008-03-21 13:48:42 -06:00
7dd9b96717 add additional methods and fields to class library 2008-03-20 18:40:18 -06:00
8e1ec5794f implement java.util.Random and java.lang.Math.random in Java 2008-03-20 18:39:25 -06:00
7343eea558 Merge branch 'master' of oss:/var/local/git/avian 2008-03-05 14:22:04 -07:00
3e7acd7861 fix backwards logic in Collections.toArray 2008-03-05 14:21:53 -07:00
89bc3bc4e7 Fix bug in StringBuilder.insert() 2008-03-05 12:10:59 -07:00
1bca2e9e5d tweak Math.natRandom for Windows to guarantee we never return anything outside [0,1) 2008-02-29 12:49:00 -07:00
3c237547ee fix Math.natRandom for Windows build 2008-02-29 12:39:09 -07:00
51a731847a java.util code cleanup 2008-02-28 15:18:46 -07:00
35d4d19c07 Merge branch 'master' of oss:/var/local/git/avian 2008-02-28 11:37:14 -07:00
9d76d6a04e implement a few more classpath methods, including Collection.addAll and Collection.toArray 2008-02-28 11:37:10 -07:00
e23f2bafd5 Implemented trivial impolementation of java.util.Random.nextDouble() 2008-02-28 11:02:58 -07:00
11d218f956 Slight fix for improved type safety 2008-02-28 10:03:24 -07:00
0d5b7bd126 Support for floating point conversions and tests
Floats and doubles can now be read from strings, using the C standard library
functions for this purpose (strtof and strtod).  The code also relies on
standard library functions to implement isNaN() and isInfinite()
2008-02-28 08:35:16 -07:00
73e7bfc1dc Added constructor for java.util.HashMap 2008-02-28 08:33:52 -07:00
eaa8d5c64b Trivial implementation of java.util.Random.nextInt(int n) 2008-02-26 09:37:46 -07:00
2edaa82801 prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
8a0ffe186f Adds appending of doubles to a StringBuffer 2008-01-30 16:26:30 -07:00
7a262d0578 add java.lang.OutOfMemoryError 2008-01-29 08:18:23 -07:00
707359d555 remove redundant synchronization from Collections.SynchronizedCollection 2008-01-28 08:10:23 -07:00
6926ca6778 Added parsing of new line characters in properties files. 2008-01-23 16:39:45 -07:00
35160e46d8 don't include embedded boot classpath in libvm.a, only the executable 2008-01-18 17:54:36 -07:00
bb701f309c implement StringBuffer.append(boolean) 2008-01-18 16:16:24 -07:00
dc6c7e9121 use more conventional os.name properties 2008-01-18 08:35:20 -07:00
86704591e7 Throwable.initCause should return 'this' 2008-01-03 10:08:33 -07:00
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
c53470f9c8 Merge branch 'master' of dice.ecovate.com:git/vm 2007-12-21 17:27:49 -07:00
a867e4d587 snapshot 2007-12-21 17:26:55 -07:00
8c56845616 Added support for Math.cos 2007-12-21 14:10:40 -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