RFR: JDK-8226751: "Exception: ..." for missing file
Kevin Rushforth
kevin.rushforth at oracle.com
Sat Jun 29 13:54:41 UTC 2019
The rest of the CommandLine class uses nio Paths/Files, so the following
might be a better fit, and also checks whether the file can be read:
if (!Files.isReadable(Paths.of(name)))
The rest looks fine.
-- Kevin
On 6/29/2019 6:27 AM, Andy Herrick wrote:
> Please review the jpackage fix for bug [1] at [2].
>
> This is a fix for the JDK-8200758-branch branch of the open sandbox
> repository (jpackage).
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8226751
>
> [2] http://cr.openjdk.java.net/~herrick/8226751/
> <http://cr.openjdk.java.net/%7Eherrick/8226751/>
>
> /Andy
>
More information about the core-libs-dev
mailing list