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
Sat Dec 6 02:55:53 UTC 2014
On Fri, Dec 5, 2014 at 11:44 PM, Francis Galiegue <fgaliegue at gmail.com> wrote:
> Witness this main():
>
Want to have some more fun? On Windows, a similar piece of code seems
to throw AccessDeniedException... When trying to open the stream!
Link to SO "question": http://stackoverflow.com/q/27327783/1093528
--
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