|
|
@ -160,7 +160,9 @@ public class Natives { |
|
|
|
out.write(buf, 0, len); |
|
|
|
out.write(buf, 0, len); |
|
|
|
} |
|
|
|
} |
|
|
|
in.close(); |
|
|
|
in.close(); |
|
|
|
|
|
|
|
in = null; |
|
|
|
out.close(); |
|
|
|
out.close(); |
|
|
|
|
|
|
|
out = null; |
|
|
|
|
|
|
|
|
|
|
|
// NOTE: On OSes that support "Date Created" property,
|
|
|
|
// NOTE: On OSes that support "Date Created" property,
|
|
|
|
// this will cause the last modified date to be lower than
|
|
|
|
// this will cause the last modified date to be lower than
|
|
|
@ -176,6 +178,9 @@ public class Natives { |
|
|
|
if (load) { |
|
|
|
if (load) { |
|
|
|
System.load(targetFile.getAbsolutePath()); |
|
|
|
System.load(targetFile.getAbsolutePath()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(in != null){ |
|
|
|
|
|
|
|
in.close(); |
|
|
|
|
|
|
|
} |
|
|
|
if(out != null){ |
|
|
|
if(out != null){ |
|
|
|
out.close(); |
|
|
|
out.close(); |
|
|
|
} |
|
|
|
} |
|
|
|