mirror of
https://github.com/corda/corda.git
synced 2025-06-17 14:48:16 +00:00
quick sketches of various SWT 3.3 dependencies
This commit is contained in:
@ -9,7 +9,23 @@ public class Runtime {
|
||||
return instance;
|
||||
}
|
||||
|
||||
public native void loadLibrary(String name);
|
||||
public void load(String path) {
|
||||
if (path != null) {
|
||||
load(path, false);
|
||||
} else {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
}
|
||||
|
||||
public void loadLibrary(String path) {
|
||||
if (path != null) {
|
||||
load(path, true);
|
||||
} else {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
}
|
||||
|
||||
private static native void load(String name, boolean mapName);
|
||||
|
||||
public native void gc();
|
||||
|
||||
|
Reference in New Issue
Block a user