Commit Graph

300 Commits

Author SHA1 Message Date
Joel Dice
c80eb51c17 Merge branch 'master' into powerpc
Conflicts:

	makefile
	src/assembler.h
	src/compile.cpp
	src/compiler.cpp
	src/compiler.h
	src/finder.cpp
2008-11-11 08:21:48 -07: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