<i18n dev> [9] RFR: 8032650: jdk/src/share/native/java/util: jni exception pending

Masayoshi Okutsu masayoshi.okutsu at oracle.com
Mon May 19 08:10:01 UTC 2014


Hello,

Could you please review the fix for 8032650? The bug report isn't 
visible outside Oracle. The problem is that the second call to 
JNU_GetStringPlatformChars() in 
Java_java_util_TimeZone_getSystemTimeZoneID() in 
src/share/native/java/util/TimeZone.c ignores possible exceptions. I 
decided to eliminate the `country' argument from the function, which 
eliminates the call. `country' used to be used in old Windows to 
distinguish combined time zones, but it's no longer useful. (bestMatch 
in src/windows/native/java/util/TimeZone_md.c doesn't work well.)

bug report:
https://bugs.openjdk.java.net/browse/JDK-8032650

Webrev:
http://cr.openjdk.java.net/~okutsu/9/8032650/webrev.00/

Thanks,
Masayoshi



More information about the i18n-dev mailing list