mirror of
https://github.com/corda/corda.git
synced 2025-06-15 21:58:17 +00:00
implement File.getAbsolutePath()/File.getAbsoluteFile() on Unix platforms
This commit is contained in:
@ -120,6 +120,10 @@ public class File implements Serializable {
|
||||
return toAbsolutePath(path);
|
||||
}
|
||||
|
||||
public File getAbsoluteFile() {
|
||||
return new File(getAbsolutePath());
|
||||
}
|
||||
|
||||
private static native long length(String path);
|
||||
|
||||
public long length() {
|
||||
|
Reference in New Issue
Block a user