Bug or not bug? Files.newInputStream() on a Path which is a directory does not fail until you read from it

Brian Burkhalter brian.burkhalter at oracle.com
Fri Dec 5 23:33:07 UTC 2014


On Dec 5, 2014, at 3:18 PM, Francis Galiegue <fgaliegue at gmail.com> wrote:

> By the way, this is running 1.7.0u72 from Oracle; the result is the
> same with 1.8.0u25.
> 
> I've had a report of a similar error on Mac OS X 10.10.1, 1.8.0u25.

Same thing occurs on Mac OS 10.9.5 running Java 9-dev.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20141205/f4bc1c75/attachment.html>


More information about the nio-dev mailing list