7133476: (fs) Files.readAttributes throws NPE

Michael McMahon michael.x.mcmahon at oracle.com
Sun Jan 29 22:58:02 PST 2012


On 27/01/12 13:52, Alan Bateman wrote:
>
> Currently Files.readAttributes throws NPE rather than UOE on Mac OS X 
> when invoked to read DOS attributes. This looks like an issue 
> introduced upstream in the BSD porting project. To fix this requires 
> removing BsdFileSystemProvider.readAttributes (the super class 
> implementation does the right thing already). While I was there I also 
> removed commented out code that should not be here. The webrev with 
> the changes is here:
>
> http://cr.openjdk.java.net/~alanb/7133476/webrev/
>
> Thanks,
> Alan.
Looks good.

Thanks,
Michael


More information about the macosx-port-dev mailing list