file.encoding vs. sun.jnu.encoding(?) on OS X (original) (raw)

Paul Taylor paul_t100 at fastmail.fm
Thu Nov 22 14:28:56 PST 2012


On 22/11/2012 21:45, Alan Bateman wrote:

On 22/11/2012 20:10, Paul Taylor wrote:

:

Just tried the latest ea release macbook:songkong paul$ java -version java version "1.7.012-ea" Java(TM) SE Runtime Environment (build 1.7.012-ea-b02) Java HotSpot(TM) 64-Bit Server VM (build 24.0-b25, mixed mode)

and Im still getting a problem that files containing certain chars are not failing file.exists(); Is this the issue discussed that is meant to be fixed in 7u12 ? 7130915 is fixed in 7u12, 8003228 is not. As I said in the previous mail, I think these issues have been mixed up (for understandable reasons). For 8003228 then we need to get an authoritative reference before fixing the value of sun.jnu.encoding to UTF-8. Scott may be able to provide this. In the mean-time then setting your locale appropriately is the workaround.

Thanks Alan

But confused, I think 7130915 is the problem I'm having however it isn't fixed in the latest version of 7u12 (build 2) according to my testing. Maybe it is fixed in a as yet unreleased build of 7u12, unfortunately I was looking to do a release within a couple of weeks assuming so may have to ship with 7u10 (looks like should be released about then) is there a workaround I can use in the meantime, does this sun.jnu.encoding workaround fix this issue, I'm using appbundler rather than webstart so I assume I can use this if it works.

I cannot even find 8003228 in the bug tracker.

Paul



More information about the macosx-port-dev mailing list