RFR: 1236: Add jcheck option to check for large binary files [v3]

Guoxiong Li gli at openjdk.java.net
Fri Dec 3 13:20:10 UTC 2021


On Thu, 2 Dec 2021 14:29:26 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>  let this apply to any binary file,

Fixed.

I have a small problem. Can the following code get the file size actually? The `path` seems a local relative path.


try {
    fileSize = Files.size(path);
} catch (IOException e) {
    log.warning("The file '" + path + "' doesn't exist.");
}

-------------

PR: https://git.openjdk.java.net/skara/pull/1247


More information about the skara-dev mailing list