Fwd: 7050570: (fs) FileSysteProvider fails to initializes if run with file.encoding set to Cp037
Alan Bateman
Alan.Bateman at oracle.com
Mon Aug 27 05:12:06 PDT 2012
On 27/08/2012 12:57, Ulf Zibis wrote:
>
> It matters, if sun.jnu.encoding is a double-byte coding.
> ... and compared to the anyway processed normalizeAndCheck(dir),
> performance doesn't matter here.
> :
>
> Yes, and additionally I wanted to say, that constant HERE should be
> initialized double-byte encoding proof.
>
As I said in the original mail, this is beyond the scope of this patch.
Yes, we know this is kicking the can down the road and maybe some day
there will be a locale on one of the supported platforms where this
becomes an issue. The other point is that sun.jnu.encoding is completely
internal to JDK, nobody should ever be setting it (same thing goes for
file.encoding too but clearly people do seem to try that).
-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20120827/f4cea2da/attachment.html
More information about the nio-dev
mailing list