mirror of
https://github.com/corda/corda.git
synced 2025-06-17 14:48:16 +00:00
flesh out classpath enough to test threading; fix indexing bug in parsePool()
This commit is contained in:
@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user