File.exists() does not work on mac for non-English characters on Java 7 on Mac

Alan Bateman Alan.Bateman at oracle.com
Wed Jan 23 01:05:22 PST 2013


On 22/01/2013 21:41, Steve Hannah wrote:
> I just wanted to post my experiences with this bug.  I was having
> trouble on OS X in both 1.7.0u11 and 1.7.0u12 with Japanese file names
> (File.exists() erroneously returning false).
>
Can you try jdk8-b73 in your environment without the app bundle change 
and see if you still have an issue? Brent pushed a change to b73 that 
defaults the value of sun.jnu.encoding to UTF-8 on Mac and we think this 
should the issues that several folks on this list have reported. There 
are several other changes in this general area so rnning with the latest 
jdk8 build means a build with all the changes. I know Brent is planning 
on getting wider feedback from folks that are willing to try out jdk8 
builds. We need this before backports to jdk7u can be considered.

-Alan


More information about the macosx-port-dev mailing list