branch | unixdomainchannels |
changeset 58848 | c3df0f8b6d93 |
parent 58801 | 119ac9128c1b |
--- a/src/java.base/share/classes/sun/nio/ch/IOStatus.java Tue Oct 29 19:23:09 2019 +0000 +++ b/src/java.base/share/classes/sun/nio/ch/IOStatus.java Tue Oct 29 19:55:34 2019 +0000 @@ -85,7 +85,7 @@ * Returns true if the error code is UNAVAILABLE or INTERRUPTED, the * error codes to indicate that an I/O operation can be retried. */ - public static boolean okayToRetry(long n) { + static boolean okayToRetry(long n) { return (n == IOStatus.UNAVAILABLE) || (n == IOStatus.INTERRUPTED); }