flesh out classpath enough to test threading; fix indexing bug in parsePool()

This commit is contained in:
Joel Dice
2007-07-04 16:27:08 -06:00
parent 1182ea9540
commit c3320c2c97
14 changed files with 240 additions and 12 deletions

View File

@ -2,6 +2,7 @@ package java.lang;
public abstract class System {
public static final Output out = new Output();
public static final Output err = out;
static {
loadLibrary("natives");
@ -9,7 +10,14 @@ public abstract class System {
public static native void loadLibrary(String name);
public static native String getProperty(String name);
public static class Output {
public native void println(String s);
public native void print(String s);
public void println(String s) {
print(s);
print(getProperty("line.separator"));
}
}
}