Support of named attributes in jdk7

Alan Bateman Alan.Bateman at Sun.COM
Wed Jan 28 05:36:14 PST 2009


Florian Weimer wrote:
> :
> Will there be a bypass to get to the bytes directly?  The
> non-addressable names issue on non-Windows platforms is a bit
> annoying.
>   
I'm not sure I get the question but when a file name is obtained from 
the file system then we preserve the platform representation (bytes in 
this case) so that it can be used again to access the file. This avoids 
problems we have with java.io.File where the round-trip (bytes -> String 
-> bytes) can mean we can "see" the file (with methods such as list or 
listFiles) but we can't access it because we aren't in the right locale. 
Is this the issue you are thinking about?

-Alan.



More information about the nio-dev mailing list