File.exists() does not work on mac for non-English characters on Java 7 on Mac
Steve Hannah
steve at weblite.ca
Wed Jan 23 09:34:42 PST 2013
I tried with jdk8-b73 and it appears to work properly without the
LC_CTYPE workaround.
On a side note, I sent the Appbundler LC_CTYPE patch to Marco and he
has applied it to his Appbundler fork already.
Best regards
Steve
On Wed, Jan 23, 2013 at 1:05 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 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
--
Steve Hannah
Web Lite Solutions Corp.
More information about the macosx-port-dev
mailing list