mirror of
https://github.com/corda/corda.git
synced 2025-06-15 21:58:17 +00:00
add a bunch of classes to classpath and flesh out a few existing ones
This commit is contained in:
17
classpath/java/lang/Runtime.java
Normal file
17
classpath/java/lang/Runtime.java
Normal file
@ -0,0 +1,17 @@
|
||||
package java.lang;
|
||||
|
||||
public class Runtime {
|
||||
private static final Runtime instance = new Runtime();
|
||||
|
||||
private Runtime() { }
|
||||
|
||||
public static Runtime getRuntime() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
public native void loadLibrary(String name);
|
||||
|
||||
public native void gc();
|
||||
|
||||
public native void exit(int code);
|
||||
}
|
Reference in New Issue
Block a user