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
522e2ebc9f
fix bug in debug helper function
2008-07-21 14:41:29 -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
360ab7d9f9
Fix typo in mac build instructions
2008-07-15 15:31:01 -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
Joel Dice
a2ba391b89
support -Xbootclasspath and -Xbootclasspath/a options
2008-07-14 11:51:20 -06:00
Joel Dice
cfaf690306
update usage message (part 2)
2008-07-14 11:23:33 -06:00
Joel Dice
d20fc697cb
update usage message
2008-07-14 11:21:59 -06:00
Joel Dice
a6853fa820
rename -Xbootclasspath option to -Xbootclasspath/p to match Sun syntax and semantics
2008-07-14 11:16:34 -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
Joel Dice
f700f6cf3a
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-07-14 11:02:47 -06:00
Joel Dice
920034e231
use JavaVMInitArgs instead of JDK1_1InitArgs in JNI_CreateJavaVM; support -Xbootclasspath option
2008-07-14 11:02:43 -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
Joel Dice
bf58eaa6ba
assert that the target of an invokestatic call is a static method and that the targets of all other invokes are non-static
2008-07-12 14:52:14 -06:00
Joel Dice
623b5f84dc
fix GC-in-hashMapResize bug which occasionally resulted in corrupt Machine::monitorMap
2008-07-12 10:38:09 -06:00
Joel Dice
9c82bd2386
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-07-11 22:01:57 -06:00
Joel Dice
fcd4f0c8f5
third attempt to properly fix race condition in compile function
2008-07-11 22:01:42 -06:00
Joel Dice
149949a2d2
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-07-11 19:26:53 -06:00
Joel Dice
fa3ceb0a75
add assertions to hashMapResize and hashMapRemove to help debug rare infinite loop
2008-07-11 19:26:46 -06:00
Joel Dice
5a97caa4ca
fix recently-introduced GC safety bug
2008-07-11 19:24:37 -06:00
Joel Dice
e31f795661
include Thread::backupHeapIndex in heap footprint calculation
2008-07-11 19:21:53 -06:00
Joel Dice
b1f24079ec
fix race condition in compile function (part 2)
2008-07-11 18:14:30 -06:00
Joel Dice
dc52bae1cf
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-07-11 18:11:29 -06:00
Joel Dice
0b79ab4fed
fix race condition in compile function
...
1. Thread A calls function F, which needs to be compiled. So it
compiles it.
2. Thread B calls function F, sees that it's already been compiled and
so runs it.
3. Thread B calls function G from function F, and G needs to be
compiled, but it needs to acquire the class lock first, which A owns.
4. Thread A causes a GC, walks thread B's stack, but function F has not
yet been added to the method tree, so it thinks the stack has no frames.
5. Thread A finally adds function F to the method tree.
6. Thread A causes another GC and walks thread B's stack again, and
this time it finds function F in the method tree.
7. AAAARRRRRGGGHHH!!!!!!
2008-07-11 18:11:13 -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