Bug or not bug? Files.newInputStream() on a Path which is a directory does not fail until you read from it
Francis Galiegue
fgaliegue at gmail.com
Fri Dec 5 23:38:43 UTC 2014
Hello,
On Sat, Dec 6, 2014 at 12:33 AM, Brian Burkhalter
<brian.burkhalter at oracle.com> wrote:
[...]
>
> Same thing occurs on Mac OS 10.9.5 running Java 9-dev.
>
Well, I've just tried to open a new OutputStream; this time it does
fail on .newOutputStream(), not when attempting to write to it...
--
Francis Galiegue, fgaliegue at gmail.com, https://github.com/fge
JSON Schema in Java: http://json-schema-validator.herokuapp.com
Parsers in pure Java: https://github.com/parboiled1/grappa (redde
Caesaris: https://github.com/sirthias)
More information about the nio-dev
mailing list