Commit Graph

566 Commits

Author SHA1 Message Date
Joel Dice
864a28f2ce throw IllegalArgumentException from Enum.valueOf if name does not match any value 2009-08-13 08:57:58 -06:00
Joel Dice
fb37f48237 add various methods to Class and fix getComponentType for primitive arrays 2009-08-13 08:57:06 -06:00
Joel Dice
58e3c3013a pass start and end indexes to String.getChars in Writer.write, not start and length 2009-08-13 08:55:35 -06:00
Joel Dice
0544ab381f fix Class.isArray for case this == Class.class 2009-08-12 19:40:52 -06:00
Joel Dice
dd82b58dad add String.lastIndexOf(String,int); defer to Pattern.split in String.split 2009-08-12 19:39:29 -06:00
Joel Dice
df1aee5981 replace slashes with dots in class name passed to Class.forName in Method.getParameterTypes 2009-08-11 09:25:05 -06:00
Joel Dice
d868815737 put thread into runnable state in Thread.start 2009-08-10 17:36:11 -06:00
Joel Dice
001000364d add classloader parameter to functions which may directly or indirectly load classes; include methods inherited from interfaces (but not explicitly declared) in method tables and virtual tables of abstract classes 2009-08-10 07:56:16 -06:00
Joel Dice
58c3a37277 specify classloader when calling Class.forCanonicalName in Field and Method; tolerate null argument array in Method.invoke 2009-08-10 07:48:44 -06:00
Joel Dice
5c72746d2c inherit thread group from current thread 2009-08-10 07:46:59 -06:00
Joel Dice
97ea23e3bb optionally specify classloader to Class.forCanonicalName 2009-08-10 07:46:05 -06:00
Joel Dice
1a2deff97d Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-08-09 14:43:53 -06:00
jet
1ffe46a545 added ARM interpreted mode supported 2009-08-06 11:52:36 -06:00
Joel Dice
6d27274aea update Class.PrimitiveFlag value to reflect change in machine.h; make Class.getName work for primitive types 2009-08-05 15:57:51 +00:00
Joel Dice
2de750768b add java.lang.reflect.Modifier.isInterface 2009-08-05 14:14:45 +00:00
Joel Dice
7050448ec5 implement Class.{get|set}Signers 2009-08-04 18:31:14 -06:00
Joel Dice
e18ab49f4d always pass null instance to native version of Method.invoke when invoking static methods 2009-08-04 18:30:16 -06:00
Joel Dice
626c514373 add listFiles and isFile methods to java.io.File 2009-08-04 17:59:07 -06:00
Joel Dice
590238bbfc add indexOf and lastIndexOf methods to java.util.List 2009-08-04 17:58:31 -06:00
Joel Dice
0a7f94abfe add java.util.Collection.toArray() 2009-08-04 17:36:25 -06:00
Joel Dice
7911989055 add AbstractList and AbstractSequentialList classes to java.util and listIterator methods to java.util.List 2009-08-04 17:24:29 -06:00
Joel Dice
93597a4d1d implement ArrayList.listIterator() 2009-08-04 11:34:46 -06:00
Joel Dice
08dd7d0a5a Merge branch 'gnu' 2009-08-03 09:01:16 -06:00
Joel Dice
80d4385cb8 implement blocking mode for SocketChannel and ServerSocketChannel 2009-08-03 08:58:56 -06:00
Joel Dice
54ceb80116 implement stub versions of java.security classes 2009-08-03 08:56:19 -06:00
Joel Dice
8c18f27e89 avoid NPE in String.equalsIgnoreCase 2009-07-28 17:00:11 -06:00
jent
c2e9b3ed76 Commit to implement property os.arch for use in bug 8574
I had thought about using other means, ie using sysctl or utsname for
osx/linux....but this solution is more universal between OS's as well as
provided by the compiler, not via system operations
2009-07-28 10:16:27 -06:00
Joel Dice
30be3945ae update copyright year in TreeMap.java 2009-07-27 07:55:28 -06:00
Joel Dice
27d863790c Merge branch 'win64' into gnu
Conflicts:

	makefile
	src/compile-x86.S
	src/x86.S
	src/x86.cpp
2009-07-25 20:48:36 -06:00
Joel Dice
f869e5be21 Merge branch 'master' into gnu
Conflicts:

	classpath/java/util/TreeSet.java
2009-07-25 18:38:57 -06:00
Joel Dice
d3a249a3fa Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-07-25 18:36:27 -06:00
Joel Dice
d327f6ba5a implement java.util.TreeMap 2009-07-25 15:41:43 -06:00
Joel Dice
29858a5299 implement Selector.selectNow() and select() 2009-07-23 13:08:41 -06:00
Joel Dice
e72ff8db0b Merge branch 'master' into gnu
Conflicts:

	src/compile.cpp
2009-07-11 12:11:59 -06:00
Joel Dice
ab5ba9c954 Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-07-10 09:57:29 -06:00
jent
8335dc4297 Now using the CoreServices instead of the Carbon framework....this
allows for cocoa and future compatability
2009-07-02 03:30:05 -06:00
jent
8c3d65a835 Hopefully including the top carbon header will fix the issues we had
when we tried to include just Gestalt.h
2009-07-02 03:13:39 -06:00
jent
2639d94ebc Commented out changes to avian till I can figure out why I can compile
using the deploy script, but no one else can
2009-07-02 02:24:25 -06:00
jent
3367ac88e3 Added in code to support os.version for Windows/Linux/OSX
The make file had to be modified to include the carbon framework in OSX
2009-07-01 09:13:01 -06:00
Eric Scharff
c3c06e4e0e Fix mac build
Remove a compiler error by removing an unnecessary method
2009-06-19 13:43:57 -06:00
Joel Dice
70eedcdf97 replace slashes with dots in value returned by StackTraceElement.getClassName to make Classpath's java.util.logging.Logger happy 2009-06-06 21:08:36 -06:00
Joel Dice
61ba2d617e meant to include this in the last commit 2009-06-06 20:38:02 -06:00
Joel Dice
20ea82ec2e various tweaks for Classpath compatibility 2009-06-06 20:32:44 -06:00
Joel Dice
4fca1d64ba fix thinko in String.regionMatches; ignore case when checking charsetName in String ctor 2009-06-06 20:30:58 -06:00
Joel Dice
a201d28e5c handle null loader parameter properly in Class.forName 2009-06-06 20:29:15 -06:00
Josh warner
c7e134eb7a updated machine-word-dependent cast to be agnostic 2009-06-05 14:32:36 -06:00
Josh warner
e8f02be3dd fix mingw64 build by including direct.h 2009-06-05 14:31:53 -06:00
Josh warner
bcad89dc17 handle null parameter types in various class methods 2009-06-05 14:28:55 -06:00
Joel Dice
16537a32bc fix logic in Thread.join(long) (second try) 2009-06-04 18:08:51 -06:00
Joel Dice
a064c744f4 fix logic in Thread.join(long) 2009-06-04 18:07:00 -06:00
Joel Dice
44e3ee5bd7 fix misspelling in comment 2009-06-04 18:03:09 -06:00
Joel Dice
d0f11cd2e5 move non-standard classes to avian package 2009-06-04 17:59:34 -06:00
Joel Dice
0857f53651 more progress on GNU Classpath compatibility 2009-06-04 17:21:42 -06:00
Joel Dice
98be5c509e more progress towards GNU Classpath compatibility 2009-06-03 16:17:55 -06:00
Joel Dice
0615b8a09f add classes and methods needed for GNU Classpath compatibility
Most of these methods are stubs which throw
UnsupportedOperationExceptions for now.
2009-06-02 17:14:38 -06:00
Joel Dice
01f302d4b5 give avian/Continuations a private constructor; documentation tweaks 2009-05-31 14:16:51 -06:00
Joel Dice
9d6a3021ca make Hashtable.toString synchronized 2009-05-31 14:16:08 -06:00
Joel Dice
f1ff0d75bf avian.Continuations documentation tweaks 2009-05-29 19:09:32 -06:00
Joel Dice
b5cb1692fb document avian.Continuations 2009-05-29 18:32:16 -06:00
Joel Dice
9ddbf14b6c add classpath/avian/Machine.java 2009-05-25 23:31:13 -06:00
Joel Dice
31d9700c9b move SystemClassLoader and Runtime.dumpHeap to avian package 2009-05-25 21:36:29 -06:00
Joel Dice
d11af47dca add classpath/avian/IncompatibleContinuationException.java 2009-05-24 18:21:19 -06:00
Joel Dice
364f31b785 finish initial sketch of dynamicWind implementation 2009-05-23 19:49:14 -06:00
Joel Dice
4305fdc7f3 begin dynamicWind implementation 2009-05-23 16:15:06 -06:00
Joel Dice
66c4867f18 more work on continuation support 2009-05-05 18:29:05 -06:00
Joel Dice
abc9da9b31 Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-04-27 14:19:53 +00:00
Joel Dice
605ddffa31 avoid unecessary array copy in Long.toString 2009-04-26 12:46:55 -06:00
Joel Dice
4091e871a7 tolerate null caller in Logger.log 2009-04-25 20:14:29 -06:00
Eric Scharff
ed4c24c7f6 Removed temp files 2009-04-22 16:27:58 -06:00
mweaver
6b89ecd0ee Like a noob, I missed some things... broke the compilation. 2009-04-22 15:24:26 -06:00
mweaver
f68f1e5888 should be fixed 2009-04-22 11:43:22 -06:00
mweaver
d6fb1e0c7c Adding changes to fix Map/Collections
Merge branch 'master' of ssh://oss.readytalk.com/var/local/git/avian

Conflicts:

	classpath/java/util/HashMap.java
	classpath/java/util/Map.java
2009-04-22 11:34:32 -06:00
mweaver
34da6da3db brought in line with Sun's SDK, should no longer break on values call 2009-04-22 10:04:38 -06:00
mweaver
c5dd57f74c Brought more in line with Sun's SDK 2009-04-22 10:04:23 -06:00
mweaver
9023899c81 Brought interface in line with Sun 2009-04-22 10:03:53 -06:00
Eric Scharff
af784f4cbc "Fix" Map.containsKey() and Map.containsValue()
java.util.Map.containsKey() and java.util.Map.containsValue() take
Object parameters, not K and V.  Changed to improve classpath
compatibility.
2009-04-17 08:57:49 -06:00
Joel Dice
d1018bf078 update copyright years 2009-03-15 12:02:36 -06:00
J. Treadwell
8150d4a3b6 added toHexString() to java.lang.Long 2009-03-09 14:54:31 -06:00
Joel Dice
1d04fed6de implement Collections.shuffle 2009-03-04 08:18:18 -07:00
Joel Dice
8659c709b7 avoid passing null arguments to native methods in SocketChannel 2009-03-02 15:22:17 -07:00
Eric Scharff
bf8c856a3c Partially handle cascading logging levels.
We now maintain a virtual root loger, on which you can set the log
level.  When any logger logs, it finds the effective log level by going
up the parent chain, and finding a meaningful log lvel.  Thus, one can
now do Logger.getLogger("").setLevel(Level.FINER) and set the log level
for all other loggers (that do not specify their own default) to the
level specified.
2009-02-19 15:53:10 -07:00
Joel Dice
8bcc78b5b7 add InputStreamReader(InputStream,String) 2009-02-16 18:22:19 -07:00
Zsombor
8411cfbe8f add new constructor to the String :
public String(byte bytes[], int offset, int length, String
charsetName)
throws UnsupportedEncodingException;
2009-02-16 18:15:41 -07:00
Zsombor
8c68bc0e1b add logp methods to Logger 2009-02-16 18:11:05 -07:00
Zsombor
7c1a5fe57d add level handling to Logger 2009-02-16 18:10:31 -07:00
Zsombor
d682ccaceb add synchronized map 2009-02-16 17:52:27 -07:00
Zsombor
9ba62e25b9 fix and-ing, or-ing, etc BitSet with variant size 2009-02-16 17:51:37 -07:00
Ryan Forbes
46e19f9c80 Fixed bug where seconds were always zero because % was misspelled as / 2009-02-03 15:30:03 -07:00
Ryan Forbes
277278b331 Fixed off by one in list method. 2009-02-03 15:28:39 -07:00
JET
e86acf4543 added separator to String and added IOException to vm.pro 2009-01-02 13:25:05 -07:00
Joel Dice
7d68c9b0a5 Merge branch 'bootimage' of oss.readytalk.com:/var/local/git/avian
Conflicts:

	src/heapdump.cpp
2008-12-04 14:29:17 -07:00
Joel Dice
25ade1484a lots of bugfixes and refactoring 2008-12-01 19:38:00 -07:00
Joel Dice
a3c8a0460d silence GCC 4.3.2 warning in Java_java_lang_Runtime_exec 2008-11-24 17:03:00 -07:00
Joel Dice
035aa0ecd4 Merge branch 'master' of oss.readytalk.com:/var/local/git/avian into bootimage
Conflicts:

	src/compile.cpp
	src/machine.h
	src/util.h
2008-11-23 17:02:34 -07:00
Joel Dice
20cf42c5e4 more work on boot image creation 2008-11-23 16:58:01 -07:00
Joel Dice
fccf906349 add minimal java.net.Socket implementation to support Socket.setTcpNoDelay 2008-11-22 15:32:53 -07:00
J. Treadwell
3001c2067c changed String(byte[] bytes, String charsetName) to support only UTF-8 2008-11-12 10:19:21 -07:00
J. Treadwell
1f7f9319c3 Added UTF-8 support (still absent with string literals)! 2008-11-11 17:43:11 -07:00
Joel Dice
63c78d9d84 implement ResourceBundle.getKeys 2008-11-03 15:18:44 -07:00
Joel Dice
6a5116e7a7 implement primitive heap dump facility for memory profiling, accessible via Runtime.dumpHeap
The proper way to do this is to implement a subset of JVMTI, but this
will do the job for now.
2008-10-21 17:38:20 -06:00
Joel Dice
96d7bf571d implement a few methods to make SWT 3.4 happy 2008-10-10 11:49:28 -06:00
Joel Dice
f423d39b25 explicitly include stdint.h in java-nio.cpp 2008-10-10 11:49:07 -06:00
Joel Dice
3575e28e87 Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2008-10-10 10:55:14 -06:00
Frank Jacobs
68513521ef support building on Windows using MinGW
Here is a patch for getting Avian to build in Windows. I used MinGW
and MSYS for the build environment. The patch has the following
changes:

1. java-nio.cpp: Had to add an include and remove a function
declaration that was reported as duplicate.
2. readme.txt: Updated the instructions to include notes about
building on Windows.
3. makefile: Added a conditional for MinGW. I left the existing "ifeq
($(platform),windows)" conditional alone so as to not break
cross-compiled Windows builds. There are some similarities between the
two, so it might be possible to combine portions of them in an elegant
manner. Since I'm not sure how the cross-compiled builds have been
done, I didn't want to mess with that portion of the makefile.
2008-10-10 08:06:31 -06:00
dain
7dbd4903f0 set default locale to en, us 2008-10-09 18:30:24 -06:00
dain
4aa731bacf implemented getDeclaredConstructor method 2008-10-09 18:29:53 -06:00
dain
b19ce6378a Add Integer valueOf(String) method 2008-10-08 13:51:19 -06:00
Joel Dice
aeafb52bcb add ZipFile(File) constructor and ZipFile.close 2008-10-06 17:30:48 -06:00
Joel Dice
114bf777bb avoid null pointer deref in Java_java_io_RandomAccessFile_open 2008-10-06 17:30:07 -06:00
Joel Dice
ae75be5683 add copyright headers 2008-10-03 14:57:40 -06:00
Joel Dice
2684b7c024 remove debug logging 2008-10-03 14:26:23 -06:00
Joel Dice
4c307ae8c6 implement minimal, read-only versions of RandomAccessFile and ZipFile 2008-10-03 14:15:47 -06:00
Joel Dice
025cf59bb6 Vector.setElementAt should return void 2008-09-26 18:16:35 -06:00
Joel Dice
066714933c implement Random.nextBytes and Random.nextLong 2008-09-26 15:30:08 -06:00
Joel Dice
a16a00a7fb implement ByteArrayOutputStream.reset 2008-09-26 15:29:38 -06:00
Joel Dice
93a96f3833 fix backwards logic in Stack.empty 2008-09-26 08:10:16 -06:00
J. Treadwell
8e79618392 added StringBuffer/Builder methods 2008-09-22 09:31:10 -06:00
Joel Dice
27efbcf5e1 fix single-byte BufferedInputStream.read to generate unsigned result 2008-09-02 14:54:34 -06:00
Joel Dice
e0e827596e make Long.parseLong more efficient 2008-08-29 11:37:53 -06:00
Joel Dice
9017b5996a implement HashSet.toString 2008-08-22 14:02:38 -06:00
Joel Dice
c8cc7d931b maintain a table to look up methods called via JNI
This simplifies the JNI implementation for looking up methods.  It also
fixes a bug where an applications calls GetStaticMethodID with class A
and then calls CallStatic<Type>Method with class B which extends A.  The
old code would look in the wrong method table and thus call the wrong
method.
2008-08-15 12:32:33 -06:00
Matt Weaver
56e708aab0 Added the final method "name()", not being used presently, but useful if toString() is overridden. 2008-08-12 16:21:39 -06:00
Joel Dice
86dfaf9ff0 implement ByteBuffer.getInt(int) 2008-08-12 11:09:17 -06:00
Eric Scharff
e45b1f68c7 prepend copyright notice and license to source files 2008-08-05 14:15:10 -06:00
Eric Scharff
7e0941f6fb Added java.lang.AssertionError 2008-08-05 14:06:37 -06:00
Eric Scharff
f601897d9e Accept uppercase letters as digits, per the spec for Character.digit 2008-08-05 14:05:36 -06:00
Matt Weaver
0bd29069f4 Added override, soley for documentation purposes (mark methods overriding parent) 2008-07-22 11:33:55 -06:00
Joel Dice
b59422fa94 fix windows build, where hstrerror is not available 2008-07-21 15:29:02 -06:00
Joel Dice
5b94b17ea2 clean up exception handling in java-nio.cpp 2008-07-21 15:35:14 -06:00
Joel Dice
a677a2da17 fix class cast exception in TreeSet ctor 2008-07-17 15:46:54 -06:00
Matt Weaver
244393430d Merge branch 'master' of git://oss.readytalk.com/avian 2008-07-16 11:26:29 -06:00
Eric Scharff
0df3beef06 Merge branch 'master' of ssh://oss.readytalk.com/var/local/git/avian 2008-07-15 09:38:02 -06:00
Eric Scharff
13a535d1c6 Added a getContentLength() method to URLConnection
This is particularly important if you want to get the number of bytes of a
resource loaded by the class loader:
  getClass().getResource("myFile").openConnection().getContentLength()
2008-07-15 09:36:52 -06:00
Joel Dice
0ae338e74a fix various bugs in BufferedReader.readLine 2008-07-15 08:59:00 -06:00
Matt Weaver
f81e9f7f5d Added for compliance. This makes IDEs happy, as certain types of "warning" casts are somewhat unavoidable. As it is small and potentially useful, I threw it in. 2008-07-14 11:05:33 -06:00
Matt Weaver
2d1ec11edc Added no arg constructor to support Comparable types. 2008-07-14 08:45:51 -06:00
Eric Scharff
7534459fec Stylistic tweaks 2008-07-13 21:54:07 -06:00
Zsombor
17a42c5611 add a few String methods 2008-07-13 20:34:13 -06:00
Zsombor
4fed24270b add skeleton java.util.regex classes 2008-07-13 20:33:51 -06:00
Zsombor
0ffba474fa implement additional Unicode support in Character 2008-07-13 20:33:26 -06:00
Zsombor
99fa6d1495 add StringBuilder.indexOf 2008-07-13 18:59:30 -06:00
Joel Dice
d1b6de8131 add license headers 2008-07-13 18:56:18 -06:00
Zsombor
2fe571c461 add StringBuffer.append(char[]) 2008-07-13 18:55:05 -06:00
Zsombor
074f1a3853 trivial AccessController implementation 2008-07-13 18:46:27 -06:00
Joel Dice
4ecce8286f fix recursive invocation of Thread constructor 2008-07-13 18:34:59 -06:00
Zsombor
d28a860138 add Arrays.fill 2008-07-13 18:28:27 -06:00
Zsombor
6409747f17 add Properties.getProperty(String,String) 2008-07-13 18:27:42 -06:00
Zsombor
e507a26081 add System.getProperties 2008-07-13 18:27:05 -06:00
Joel Dice
975c2c12a8 add license header to BitSet.java 2008-07-13 18:25:26 -06:00
Zsombor
dcccddeb55 add FilenameFilter interface 2008-07-13 18:24:23 -06:00
Zsombor
0e539615e7 add Thread.name field 2008-07-13 18:21:04 -06:00
Zsombor
e1d712ef71 java.util.BitSet implementation 2008-07-13 18:16:55 -06:00
Zsombor
2e0ca31148 implement File.list and File.mkdirs 2008-07-13 18:14:37 -06:00
Joel Dice
a016eeaba0 fix Long.toString for Long.MIN_VALUE case 2008-07-13 17:54:44 -06:00
Eric Scharff
bba4f75c2f Tweaked code indentation and formatting to match existing style 2008-07-03 10:49:08 -06:00
Joel Dice
befdfa4e9e add copyright header to CharSequence.java 2008-07-03 09:36:55 -06:00
Zsombor
e3fd0d9c7d add a few classes and methods to the classpath
Add java.lang.CharSequence, java.util.AbstractSet,
java.util.AbstractCollection, Collections.unmodifiableSet,
 System.getProperty(String,String), etc.
2008-07-03 09:16:32 -06:00
Joel Dice
9388b6e2ce pass O_TRUNC to open in FileOutputStream.open 2008-06-26 15:58:14 -06:00
Joel Dice
575df206cd fix System.currentTimeMillis on Windows 2008-06-17 09:05:57 -06:00
Joel Dice
af794d9be0 implement Date.toString, which just defers to ctime for now (part 2) 2008-06-16 11:45:23 -06:00
Joel Dice
4694d75553 implement Date.toString, which just defers to ctime for now 2008-06-16 10:08:51 -06:00
Joel Dice
14e2513590 fix some API compatibility issues in the class library 2008-05-07 17:44:43 -06:00
Joel Dice
24d0ea0d9b use StackTraceElement.toString in Throwable.printStackTrace 2008-04-21 16:31:50 -06:00
Joel Dice
819588546e implement a few StackTraceElement methods 2008-04-21 16:30:41 -06:00
Joel Dice
d9ec8e20bf implement Thread.getStackTrace, activeCount, and enumerate 2008-04-11 16:48:39 -06:00
Joel Dice
e9eacd900d add Class.isInterface 2008-04-01 16:48:58 -06:00
Joel Dice
c9ef443944 add Modifier.isNative and isAbstract 2008-04-01 16:42:50 -06:00
Joel Dice
91494d9081 add constructor to ByteBuffer 2008-03-28 18:08:08 -06:00
Joel Dice
6cddd10e0a various code cleanups, bug fixes, and compatibility fixes in NIO code 2008-03-25 16:17:29 -06:00
Joel Dice
3a208edbbc update NIO code to be more compatible with Java 2008-03-25 11:18:17 -06:00
Joel Dice
1b098c9267 implement ArithmeticException 2008-03-21 13:48:42 -06:00
Joel Dice
7dd9b96717 add additional methods and fields to class library 2008-03-20 18:40:18 -06:00
Joel Dice
8e1ec5794f implement java.util.Random and java.lang.Math.random in Java 2008-03-20 18:39:25 -06:00
Joel Dice
7343eea558 Merge branch 'master' of oss:/var/local/git/avian 2008-03-05 14:22:04 -07:00
Joel Dice
3e7acd7861 fix backwards logic in Collections.toArray 2008-03-05 14:21:53 -07:00
Eric Scharff
89bc3bc4e7 Fix bug in StringBuilder.insert() 2008-03-05 12:10:59 -07:00
Joel Dice
1bca2e9e5d tweak Math.natRandom for Windows to guarantee we never return anything outside [0,1) 2008-02-29 12:49:00 -07:00
Joel Dice
3c237547ee fix Math.natRandom for Windows build 2008-02-29 12:39:09 -07:00
Joel Dice
51a731847a java.util code cleanup 2008-02-28 15:18:46 -07:00
Joel Dice
35d4d19c07 Merge branch 'master' of oss:/var/local/git/avian 2008-02-28 11:37:14 -07:00
Joel Dice
9d76d6a04e implement a few more classpath methods, including Collection.addAll and Collection.toArray 2008-02-28 11:37:10 -07:00
Eric Scharff
e23f2bafd5 Implemented trivial impolementation of java.util.Random.nextDouble() 2008-02-28 11:02:58 -07:00
Eric Scharff
11d218f956 Slight fix for improved type safety 2008-02-28 10:03:24 -07:00
Eric Scharff
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
Eric Scharff
73e7bfc1dc Added constructor for java.util.HashMap 2008-02-28 08:33:52 -07:00
Eric Scharff
eaa8d5c64b Trivial implementation of java.util.Random.nextInt(int n) 2008-02-26 09:37:46 -07:00
Joel Dice
2edaa82801 prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
Dain
8a0ffe186f Adds appending of doubles to a StringBuffer 2008-01-30 16:26:30 -07:00
Joel Dice
7a262d0578 add java.lang.OutOfMemoryError 2008-01-29 08:18:23 -07:00
Joel Dice
707359d555 remove redundant synchronization from Collections.SynchronizedCollection 2008-01-28 08:10:23 -07:00
Dain
6926ca6778 Added parsing of new line characters in properties files. 2008-01-23 16:39:45 -07:00
Joel Dice
35160e46d8 don't include embedded boot classpath in libvm.a, only the executable 2008-01-18 17:54:36 -07:00
Joel Dice
bb701f309c implement StringBuffer.append(boolean) 2008-01-18 16:16:24 -07:00
Joel Dice
dc6c7e9121 use more conventional os.name properties 2008-01-18 08:35:20 -07:00
Joel Dice
86704591e7 Throwable.initCause should return 'this' 2008-01-03 10:08:33 -07:00
Joel Dice
be5600d79d fix Integer.toHexString to treat its argument as unsigned 2007-12-26 12:17:52 -07:00
Joel Dice
f116225933 fix 64-bit arithmetic support on x86-32 2007-12-22 17:00:35 -07:00
Joel Dice
c53470f9c8 Merge branch 'master' of dice.ecovate.com:git/vm 2007-12-21 17:27:49 -07:00
Joel Dice
a867e4d587 snapshot 2007-12-21 17:26:55 -07:00
James Sanders
8c56845616 Added support for Math.cos 2007-12-21 14:10:40 -07:00