JSR199 FileObjects don't obey general contract of equals.

Peter Ahé peter at ahe.dk
Thu Jun 21 10:39:02 PDT 2007


On 6/21/07, Jonathan Gibbons <Jonathan.Gibbons at sun.com> wrote:
> My concern would be the unspecified nature of IOExceptions, and
> whether network failure outside the virtual machine could lead the
> code to incorrectly determine that two files were different, when in
> fact they were "symlink-equal" in a part of the path that is no
> longer accessible by virtue of the network failure.

Unless somebody is deliberately trying to foil the compiler, that
situation must be characterized as a bug in java.io.File, not the
compiler.

Cheers,
Peter



More information about the compiler-dev mailing list