Re: i18n dev CFV: Project sponsorship: Java Locale Enhancement

2008-10-01 Thread Masayoshi Okutsu
the votes will be tallied and reported to this list and also to discuss at openjdk.java.net. Only Members of the Internationalization/Localization Group are eligible to vote on this decision. The current Members are: Michael Fang Yong Huang Yuka Kamiya Steven Loomis Masayoshi

Re: i18n dev Intent to commit modifications to Character.java

2009-08-04 Thread Masayoshi Okutsu
Hi Martin, I vaguely remember that we (jsr204) followed the convention of the Character class to mention Unicode values in the API doc. It's also convenient to have Unicode values because you don't need to look up the Unicode standards. I don't see much value to rewrite the existing

Re: i18n dev Intent to commit modifications to Character.java

2009-08-11 Thread Masayoshi Okutsu
On 8/11/2009 6:10 AM, Martin Buchholz wrote: I should really be doing something else, but I reworked my surrogate readability patch http://cr.openjdk.java.net/~martin/webrevs/openjdk7/isSurrogate2/ to take into account Joe's suggestions. Masayoshi, hope that's OK with you. The new javadoc makes

Re: i18n dev [Fwd: Re: Need reviewer - java.template changes]

2009-11-29 Thread Masayoshi Okutsu
Looks good to me, although I prefer the original names :-) Thanks, Masayoshi On 11/27/2009 3:13 AM, Kelly O'Hair wrote: Please review http://cr.openjdk.java.net/~ohair/openjdk7/jdk7-tl-6903197/webrev/ This is to make all the java template filenames consistent and allow for easy filtering of

Re: i18n dev [PATCH FOR APPROVAL]: Additional test for 6584033

2010-01-07 Thread Masayoshi Okutsu
Thank you for providing the test case. The webrev looks good to me. Is it ok to push this to OpenJDK6 (swing forest as used for i18n)? Do you mean OpenJDK7? If so, yes, we use the swing forest for i18n. Thanks, Masayoshi On 1/8/2010 2:13 AM, Andrew John Hughes wrote: Bug 6584033

Re: i18n dev RL1.7 Code Points

2011-01-23 Thread Masayoshi Okutsu
Are you talking about unpaired surrogates or something else? Thanks, Masayoshi On 1/24/2011 5:22 AM, Tom Christiansen wrote: I am somewhat uncertain, but I believe that Java *almost* meets this requirement. 1.7 Code Points A fundamental requirement is that Unicode text be

Re: i18n dev [PATCH FOR REVIEW] 6593486: RFE: support user-defined directory path to time zone data files

2011-05-12 Thread Masayoshi Okutsu
On 5/12/2011 5:07 AM, Omair Majid wrote: Hi, Andrew John Hughesgnu_andrew@... writes: When distros update their timezone data, the data used by OpenJDK also needs to be updated. At present, this is difficult as OpenJDK uses a hardcoded path (${java.home}/jre/lib/zi} for timezone data with no

Re: i18n dev [PATCH FOR REVIEW] 6593486: RFE: support user-defined directory path to time zone data files

2011-05-13 Thread Masayoshi Okutsu
On 5/13/2011 2:17 AM, Omair Majid wrote: On 05/12/2011 03:39 AM, Masayoshi Okutsu wrote: On 5/12/2011 5:07 AM, Omair Majid wrote: Hi, Andrew John Hughesgnu_andrew@... writes: When distros update their timezone data, the data used by OpenJDK also needs to be updated. At present

Re: i18n dev Codereview request for 6995537: different behavior in iso-2022-jp encoding between jdk131/140/141 and jdk142/5/6/7

2012-02-09 Thread Masayoshi Okutsu
First of all, is this really a Java SE bug? The usage of OutputSteamWriter in JavaMail seems to be wrong to me. The writeTo method in the bug report doesn't seem to be able to deal with any stateful encodings. Masayoshi On 2/9/2012 3:26 PM, Xueming Shen wrote: Hi This is a long standing

Re: i18n dev RFR : 7149608 (tz): Default TZ detection fails on linux when symbolic links to non default location used.

2012-03-13 Thread Masayoshi Okutsu
fd needs to be closed when fstat or malloc failed? Thanks, Masayoshi On 3/13/2012 12:22 AM, Alan Bateman wrote: On 12/03/2012 15:11, Seán Coffey wrote: Yes - good catch. I hadn't tested the sym link being a relative path. We should always open whatever is pointed to from

Re: i18n dev Incorrect TimeZone display name when DST not applicable / disabled

2012-05-24 Thread Masayoshi Okutsu
As I stated before, your proposed fix is good because Windows XP doesn't use the Dynamic DST data. Thanks, Masayoshi On 5/24/2012 2:53 PM, Deven You wrote: Hi masayoshi, Could you review Yoshito and my replies and see if it is good to you? Thanks a lot! On 05/17/2012 11:04 AM, Deven You

Re: i18n dev hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled

2012-05-25 Thread Masayoshi Okutsu
Hi Deven, Sorry. I didn't review the test case... You can use applet to write a manual test. You will find some manual tests under test/java/awt such as: test/java/awt/TextField/ScrollSelectionTest/ScrollSelectionTest.{html,java} Thanks, Masayoshi On 5/25/2012 4:41 PM, Deven You wrote: Hi

Re: i18n dev hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled

2012-05-25 Thread Masayoshi Okutsu
On 5/25/2012 6:37 PM, Alan Bateman wrote: On 25/05/2012 10:32, Masayoshi Okutsu wrote: Hi Deven, Sorry. I didn't review the test case... You can use applet to write a manual test. You will find some manual tests under test/java/awt such as: test/java/awt/TextField/ScrollSelectionTest

i18n dev Review request: 6380549: (rb) ResourceBundle.Control global binding support

2012-06-15 Thread Masayoshi Okutsu
Hi, This is a review request for 6380549. This change enables SPI support for ResourceBundle.Control. API changes were approved by CCC. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6380549 http://cr.openjdk.java.net/~okutsu/6380549/webrev.00/ Thanks, Masayoshi

Re: i18n dev [8] Review request for JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data

2012-08-14 Thread Masayoshi Okutsu
Hi Steven, Thanks for your comments. Finally we are getting comments on the i18n part. :-) On 8/14/2012 1:58 PM, Steven R. Loomis wrote: Hello, Some questions, - Is there a reason that a new parser was written, rather than leverage the existing CLDR tools (which are themselves written

Re: i18n dev [8] Review request for JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data

2012-08-14 Thread Masayoshi Okutsu
On 8/14/2012 2:25 PM, Steven R. Loomis wrote: Naoto, okay, thought I was done for the night, but just two more things.. - again on the talk to us category.. Sun already wrote one LDML converter, and contributed to another. They're part of the CLDR toolset and work with OOo and Solaris data.

Re: i18n dev Review request: 7069824: Support for BCP47 locale matching

2012-09-27 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 9/28/2012 12:14 PM, Yuka Kamiya wrote: Updated based on internal comments. http://cr.openjdk.java.net/~peytoia/7069824/webrev.01/ Thanks, -- Yuka (12/09/28 7:19), Yuka Kamiya wrote: Hi, Please review the change for BCP 47 locale matching.

Re: i18n dev [8] Review request for CR 7196799: CLDR adapter can not be invoked when region code is specified in Locale

2012-10-04 Thread Masayoshi Okutsu
and CalendarDataProviderImpl.java (this is irrelevant to the bug, but fixed it anyway for precaution). http://cr.openjdk.java.net/~naoto/7196799/webrev.03/ Naoto On 10/2/12 10:02 PM, Masayoshi Okutsu wrote: Hi Naoto, Here are my comments. LocaleProviderAdapter.java: - After parsing the java.locale.providers

Re: i18n dev [8]Review request for 7200119: Collator.getAvailableLocales() doesn't return Locale.US

2012-10-04 Thread Masayoshi Okutsu
Looks good. Masayoshi On 10/5/2012 6:40 AM, Naoto Sato wrote: Hello, Please review the fix for the following bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7200119 Proposed changes are located at: http://cr.openjdk.java.net/~naoto/7200119/webrev.00/ This is just to add en-US to

Re: i18n dev [8]Review request for 7200341: DateFormatSymbols.hashCode() throws ArrayIndexOutOfBoundsException in some circumstances

2012-10-04 Thread Masayoshi Okutsu
The fix will have a problem when called by multiple threads. Strictly speaking, DateFormatSymbols isn't thread-safe, but the usage of cachedHashCode will have a problem even with no set* calls. I'd suggest the following. int hashCode =cachedHashCode; if (hashCode == 0) { ...

Re: i18n dev [8]Review request for 7200341: DateFormatSymbols.hashCode() throws ArrayIndexOutOfBoundsException in some circumstances

2012-10-09 Thread Masayoshi Okutsu
Looks good. Masayoshi On 10/6/2012 3:13 AM, Naoto Sato wrote: Thanks. I modified the fix according to your comments. The new webrev is located at: http://cr.openjdk.java.net/~naoto/7200341/webrev.01/ Please review. Naoto On 10/4/12 10:36 PM, Masayoshi Okutsu wrote: The fix will have

Re: i18n dev [8] Request for review: 8000245/8000273/8000615

2012-10-16 Thread Masayoshi Okutsu
/~naoto/8000245.8000273.8000615/webrev.01/ Naoto On 10/14/12 12:14 PM, Masayoshi Okutsu wrote: Here are my comments. LocaleNameProvider/CurrencyNameProvider/TimeZoneNameProvider: - pool is no longer used and should be removed. - Should contains(key) be retained? It should be faster than try-catch

Re: i18n dev Request for review: 8000997: Multiple locale sensitive services cannot be loaded

2012-10-23 Thread Masayoshi Okutsu
Here are my comments. SPILocaleProviderAdapter.java: - Should . be used for composing a class name of a Delegate instead of $? - Is it necessary to iterate locale candidate in getImpl? (Iteration is performed outside of adapters when getting an adapter or a provider of pools.) -

Re: i18n dev Request for review: 8000997: Multiple locale sensitive services cannot be loaded

2012-10-29 Thread Masayoshi Okutsu
Looks good. Masayoshi On 10/24/2012 9:20 AM, Naoto Sato wrote: Thank you for your review. My comments are embedded below: On 10/23/12 2:53 PM, Masayoshi Okutsu wrote: Here are my comments. SPILocaleProviderAdapter.java: - Should . be used for composing a class name of a Delegate instead

Re: i18n dev [8]Request for review: 8001205) Calendar.getDisplayName(...): Returns null when provider is SPI but there is no SPI implementation

2012-11-07 Thread Masayoshi Okutsu
wrote: Will fix 8001562 too, with a separate changeset. Naoto On 11/2/12 1:08 AM, Masayoshi Okutsu wrote: Do you plan to fix this one with 8001562? (If you fix only this one, it may be seen as a regression.) Masayoshi On 10/31/2012 11:55 AM, Naoto Sato wrote: With this fix, no. But another bug

Re: i18n dev [8] Request for review: 7199750: Loading sequence of service provider is changed

2012-11-15 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 11/16/2012 4:49 AM, Naoto Sato wrote: Hello, Please review this simple fix for the subject issue. http://cr.openjdk.java.net/~naoto/7199750/webrev.00/ http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7199750 Before the fix, if there are two SPI

Re: i18n dev [8] Code review request: 8000983 and 8003267

2012-12-07 Thread Masayoshi Okutsu
. No other changes. Updated webrev: http://cr.openjdk.java.net/~okutsu/8/8000983.8003267/webrev.01/ Thanks, Masayoshi Naoto On 12/5/12 9:06 PM, Masayoshi Okutsu wrote: Resending in order to include build-...@openjdk.java.net and build-in...@openjdk.dev.java.net. Hi, This is a review

i18n dev [8] Code review request: 8005471

2012-12-27 Thread Masayoshi Okutsu
Hi, This is a code review request for: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8005471 Webrev: http://cr.openjdk.java.net/~okutsu/8/8005471/webrev.00/ Thanks, Masayoshi

i18n dev [8] Code review request: 8005561

2012-12-27 Thread Masayoshi Okutsu
Hi, This is a code review request for: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8005561 (This CR isn't viewable on bugs.sun.com yet.) Webrev: http://cr.openjdk.java.net/~okutsu/8/8005561/webrev.00/ Thanks, Masayoshi

i18n dev [8] Code review request: 4745761: (cal) RFE: Support builder for constructing Calendar

2013-01-15 Thread Masayoshi Okutsu
Hello. This is a review request for http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4745761 Webrev: http://cr.openjdk.java.net/~okutsu/8/4745761/webrev.00/ Thanks, Masayoshi

i18n dev [8] Code review request: 8004489 and 8006509

2013-01-20 Thread Masayoshi Okutsu
Hi, This is a code review request for two RFEs. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004489 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8006509 Webrev: http://cr.openjdk.java.net/~okutsu/8/8004489.8006509/webrev.00/ I didn't add the resources starting with cldr. to

Re: i18n dev [8]Request for review - 8008576: Calendar mismatch using Host LocaleProviderAdapter

2013-03-11 Thread Masayoshi Okutsu
Here are my review comments. - The Calendar.createCalendar comment says, but it's not possible since JapaneseImperialCalendar is package private. If Calendar.Builder doesn't work, should the reason be different? Otherwise, the host locale adapters won't be able to create a

Re: i18n dev [8]Request for review - 8008576: Calendar mismatch using Host LocaleProviderAdapter

2013-03-14 Thread Masayoshi Okutsu
Looks good to me. Thanks, Masayoshi On 3/13/2013 7:26 AM, Naoto Sato wrote: Webrev is updated according to your suggestions: http://cr.openjdk.java.net/~naoto/8008576/webrev.02/ Please see each comment embedded below: On 3/12/13 1:44 AM, Masayoshi Okutsu wrote: Here are my comments

Re: i18n dev [8]Request for review: 7091601: Arabic Locale: can not set type of digit in application level

2013-03-28 Thread Masayoshi Okutsu
Additional comments (to the CFStringRef to jchar[] conversion). - There might be exceptional cases on zero digit handling in CLDR. One is that digits aren't sequential in hanidec which can't be supported with the current java.text classes. Another one is that digits are in a reversed order in

Re: i18n dev [8]Request for review: 7091601: Arabic Locale: can not set type of digit in application level

2013-04-03 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 3/30/2013 6:44 AM, Naoto Sato wrote: Revised the macosx portion of the changeset again. Reverted the code that obtains CFLocaleRef back to using CFLocaleCopyCurrent(), otherwise the user's cusomization would not be reflected. Here is the revised webrev:

i18n dev Review request: Splitting locale resources (FormatData) for java.time classes

2013-04-03 Thread Masayoshi Okutsu
Hi, I've made changes for splitting locale resources into FormatData required by the legacy i18n classes and JavaTimeSupplementary required by the java.time classes. The reason of this split is to make locale resources maintenance easier. Changes are mostly in the locale data adapter side.

Re: i18n dev Review request: Splitting locale resources (FormatData) for java.time classes

2013-04-04 Thread Masayoshi Okutsu
9:09 AM, Masayoshi Okutsu wrote: Hi, I've made changes for splitting locale resources into FormatData required by the legacy i18n classes and JavaTimeSupplementary required by the java.time classes. The reason of this split is to make locale resources maintenance easier. Changes are mostly

Re: i18n dev [8]Request for review - 8010666: Implement Currency/LocaleNameProvider in Windows Host LocaleProviderAdapter

2013-04-22 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 4/19/2013 5:36 AM, Naoto Sato wrote: Hello, Please review the changes for the following CR: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8010666 Here is the webrev for the changes: http://cr.openjdk.java.net/~naoto/8010666/webrev.00/ Windows APIs for

Re: i18n dev [8] RFR: 8013086 : NPE thrown by SimpleDateFormat with TimeZoneNameProvider supplied

2013-05-01 Thread Masayoshi Okutsu
/webrev.01/ Naoto On 4/26/13 1:46 AM, Masayoshi Okutsu wrote: I'd suggest that the for loop and the following if-statement be combined and optimized. Masayoshi On 4/26/2013 6:21 AM, Naoto Sato wrote: Hello, Please review the fix for the following bug: http://bugs.sun.com/bugdatabase/view_bug.do

Re: i18n dev [8] RFR: 8013086 : NPE thrown by SimpleDateFormat with TimeZoneNameProvider supplied

2013-05-06 Thread Masayoshi Okutsu
Looks OK. There's still some room for optimization, though. Masayoshi On 5/2/2013 11:46 AM, Naoto Sato wrote: Webrev has been updated with your suggestion: http://cr.openjdk.java.net/~naoto/8013086/webrev.02/ Naoto On 5/1/13 1:19 AM, Masayoshi Okutsu wrote: What I meant is something like

Re: i18n dev [8] RFR: 8013233, java/util/Locale/LocaleProviders.sh fails

2013-05-06 Thread Masayoshi Okutsu
Not sure how the test can detect bugs in the provider of the host adapter. BTW, some lines are very long requiring a wide screen monitor. Masayoshi On 5/7/2013 3:50 AM, Naoto Sato wrote: Hello, Please review the following changeset: http://cr.openjdk.java.net/~naoto/8013233/webrev.00/ for

Re: i18n dev RFR JDK-8013386: (tz) Support tzdata2013c

2013-05-09 Thread Masayoshi Okutsu
Do we still need to keep the old javazic code in JDK8? It's a maintenance burden to maintain both, isn't it? I'm concerned about the 24:00 fix. Is there any way to produce the correct rules without hard coding time zone IDs? Masayoshi On 5/10/2013 8:24 AM, Xueming Shen wrote: Hi Sean,

Re: i18n dev RFR JDK-8013386: (tz) Support tzdata2013c

2013-05-10 Thread Masayoshi Okutsu
On 5/10/2013 3:30 PM, Xueming Shen wrote: On 5/9/13 9:57 PM, Masayoshi Okutsu wrote: Do we still need to keep the old javazic code in JDK8? It's a maintenance burden to maintain both, isn't it? While it's a burden, but somehow it serves as a test case pretty well. The transitions are being

Re: i18n dev [8] RFR: 8013233, java/util/Locale/LocaleProviders.sh fails

2013-05-12 Thread Masayoshi Okutsu
I think Objects.equals(Object, Object) should be used when comparing result and expected. Otherwise, the fix looks OK to me. Masayoshi On 5/8/2013 7:10 AM, Naoto Sato wrote: On 5/6/13 9:30 PM, Masayoshi Okutsu wrote: Not sure how the test can detect bugs in the provider of the host adapter

Re: i18n dev [8] RFR: 8013233, java/util/Locale/LocaleProviders.sh fails

2013-05-13 Thread Masayoshi Okutsu
on that machine, result=mk and expected=(null) where fallback kicks in. Maybe the variable name expected be replaced with something like resultFromHOST, but the test itself cannot just use Objects.equals(). Naoto On 5/12/13 10:21 PM, Masayoshi Okutsu wrote: I think Objects.equals(Object, Object) should

Re: i18n dev [8] RFR: 8013233, java/util/Locale/LocaleProviders.sh fails

2013-05-14 Thread Masayoshi Okutsu
, the result value still is non null, which assures that FALLBACK provider has kicked in. So I think checking result != null is still needed. Naoto On 5/13/13 5:15 PM, Masayoshi Okutsu wrote: I see. The test case should get the expected value first, then. If expected == null, skip the test case

Re: i18n dev [8] RFR: 8013233, java/util/Locale/LocaleProviders.sh fails

2013-05-15 Thread Masayoshi Okutsu
://cr.openjdk.java.net/~naoto/8013233/webrev.02/ Naoto On 5/14/13 9:22 PM, Masayoshi Okutsu wrote: Do you mean this? if (result == null || expected != null !result.equals(expected)) { throw new RuntimeException(...); } Masayoshi On 5/15/2013 1:06 AM

Re: i18n dev [8] Request for document changes review

2013-05-22 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 5/23/2013 3:45 AM, Naoto Sato wrote: Hello, Please review the changes for the following two simple document fixes: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7056126 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7083668 The proposed webrev is

Re: i18n dev Review request for 8014469 and 8015570 for 7u40

2013-05-29 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 5/29/2013 5:50 PM, Yuka Kamiya wrote: Masayoshi, Could you please review my fix for the following bugs? http://bugs.sun.com/view_bug.do?bug_id=8014469 8014469 : (tz) Support tzdata2013c http://bugs.sun.com/view_bug.do?bug_id=8015570 (may not be browseable

Re: i18n dev [8] Request for Review: 8013903: Japanese calendar field names are not displayed with -Djava.locale.providers=HOST on Windows

2013-06-03 Thread Masayoshi Okutsu
I'd suggest use of Collections.singleton(T o) for FallbackLocaleProviderAdapter.rootTagSet. Otherwise, the changes look good to me. Thanks, Masayoshi On 6/1/2013 8:58 AM, Naoto Sato wrote: Hello, I updated the fix according to an internal comment, which added a paragraph in

Re: i18n dev [8] Request for Review: 8013903: Japanese calendar field names are not displayed with -Djava.locale.providers=HOST on Windows

2013-06-03 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 6/4/2013 6:28 AM, Naoto Sato wrote: Thanks. I should have known. Here is the revised webrev: http://cr.openjdk.java.net/~naoto/8013903/webrev.02/ Naoto On 6/3/13 1:56 AM, Masayoshi Okutsu wrote: I'd suggest use of Collections.singleton(T o

Re: i18n dev Review Request - 7040556 : SimpleDateFormat.format Portuguese Month should not be capitalized

2013-06-04 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 6/4/2013 3:06 PM, Yong Huang wrote: Hello, This is the review request for http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7040556 Webrev: http://cr.openjdk.java.net/~yhuang/7040556/webrev.00/ thanks, Yong

Re: i18n dev 8015880: GenerateBreakIteratorData build warning

2013-06-05 Thread Masayoshi Okutsu
When I noticed the warning, actually I tried the exactly same fix (both equals and hashCode). It was supposed to generate the same data after the fix, but the fixed one didn't generate identical data. I haven't had time to look into it further. Yesterday Yuka looked into the fixed tool and

i18n dev Review request - 7177315: SimpleDateFormat parses wrong 2-digit year if input contains spaces

2013-06-05 Thread Masayoshi Okutsu
Hello, This is a review request for the fix of 7177315: SimpleDateFormat parses wrong 2-digit year if input contains spaces http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7177315 Webrev: http://cr.openjdk.java.net/~okutsu/8/7177315/webrev.00/ Thanks, Masayoshi

i18n dev Review request - 7064270: java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 hi_IN.UTF-8

2013-06-07 Thread Masayoshi Okutsu
Hello, This is a review request for the fix of: 7064270: java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 hi_IN.UTF-8 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7064270 Webrev: http://cr.openjdk.java.net/~okutsu/8/7064270/webrev.00/ Thanks, Masayoshi

Re: i18n dev [8] Request for review: 8015960: java/util/Locale/LocaleProviders.java failing again on Windows

2013-06-11 Thread Masayoshi Okutsu
I prefer to avoid use of deprecated 3-letter IDs of JDK 1.1. PST should be America/Los_Angeles. Masayoshi On 6/12/2013 2:55 AM, Naoto Sato wrote: Hello, Please review an one-liner fix for the following bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8015960 The fix is simply to set

Re: i18n dev TimeZone.DispayNames - remove it?

2013-06-23 Thread Masayoshi Okutsu
This appears to be a leftover of the cache cleanup activity. The fix looks good to me. Masayoshi On 6/23/2013 12:34 AM, Alan Bateman wrote: While snooping around in java.util.TimeZone I came across DisplayNames which doesn't appear to be be used anymore as the display cache is moved to

Re: i18n dev [8] Request for review: 8017468 : typo in javadoc: ResourceBunlde

2013-06-24 Thread Masayoshi Okutsu
Looks good. Masayoshi On 6/25/2013 7:18 AM, Naoto Sato wrote: Another very simple review request: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8017468 http://cr.openjdk.java.net/~naoto/8017468/webrev.00/ It's just fixing a typo in the ResourceBundle's class documentation. Naoto

Re: i18n dev [8] Request for review: 6609431 : (rb) ResourceBundle.getString() returns incorrect value

2013-06-26 Thread Masayoshi Okutsu
Looks good to me. But I'd like Sherman to take a look at the fix. Masayoshi On 6/27/2013 8:58 AM, Naoto Sato wrote: Hello, Please review the following fix: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6609431 http://cr.openjdk.java.net/~naoto/6609431/webrev.00/ The failure was caused

Re: i18n dev Request for review - 8021108: Clean up doclint warnings and errors in java.text package

2013-07-26 Thread Masayoshi Okutsu
java/text/DateFormat.java: /** * Get a default date/time formatter that uses the SHORT style for both the * date and the time. + * + * @return a date formatter */ public final static DateFormat getInstance() { This method returns a DateFormat for both date and

i18n dev [8] Request for review: 8015986 : Incorrect Localization of HijrahChronology

2013-08-06 Thread Masayoshi Okutsu
Hi, Please review the following fix: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8015986 This fix is a workaround until JDK incorporates the chronology name and its translations from CLDR. The English and Arabic names for the JRE resources are preferred names given by Oracle

Re: i18n dev Review Request - 8021121: ISO 4217 Amendment Number 156

2013-08-06 Thread Masayoshi Okutsu
Hi Yong, I think it's OK to use EUR without specifying the transition date-time for JDK 8. Thanks, Masayoshi On 8/6/2013 11:44 AM, Yong Huang wrote: Hi Naoto, To place the transition logic, do you mean I need to add comments in source file or do I just need to explain it in this email

Re: i18n dev java.util.Locale changes

2013-08-28 Thread Masayoshi Okutsu
(adding core-libs-dev) Hi Christian, RFC 4647 defines The Language Priority List [1]. The use of java.util.List would be a natural fit, which is the reason why List is used. But use of Iterable does work (as API design). The parameter name `priorityIterable' sounds a bit odd, though. Does

Re: i18n dev java.util.Locale changes

2013-08-29 Thread Masayoshi Okutsu
give more flexibility, but I'm not sure how much it would add value to the API use. You can implement your own Iterable, but would many developers implement an Iterable to give a language priority list? Masayoshi On 2013/08/29 5:42, Alan Bateman wrote: On 28/08/2013 14:25, Masayoshi Okutsu

Re: i18n dev [8]Request for Review: 8023943 : Method description fix for String.toLower/UpperCase() methods

2013-09-04 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 9/5/2013 1:26 AM, Naoto Sato wrote: Hello, Please review this very simple doc fix: http://cr.openjdk.java.net/~naoto/8023943/webrev.00/ for the following bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8023943 This is just a document correctness fix

i18n dev [8] RFR: 8024141: Unexpected timezone display name

2013-09-06 Thread Masayoshi Okutsu
Hi, Please review the following fix: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8024141 The fix is to cache time zone name arrays in different sizes separately. The cache support and/or time zone name resources structure may need to be revisited for more efficient management. Maybe

i18n dev [8]RFR: 8022666: java.util.Calendar.set(int, int, int, int, int, int) documentation typo

2013-10-02 Thread Masayoshi Okutsu
Hi, Please review the doc fix for the following bug: https://bugs.openjdk.java.net/browse/JDK-8022666 Webev: http://cr.openjdk.java.net/~okutsu/8/8022666/webrev.00/ Thanks, Masayoshi

Re: i18n dev DST for Israel

2013-10-08 Thread Masayoshi Okutsu
Hi amarshi, The current tzdata version of openjdk-7 seems to be 2013d which should be the latest for Israel. What version of openjdk-7 are you using? Thanks, Masayoshi On 10/8/2013 6:07 PM, amarshi wrote: Hi, I am currently using openJDK-7 , but there is a problem with the Daylight Savings

Re: i18n dev RFR: 8025255: (tz) Support tzdata2013g

2013-10-10 Thread Masayoshi Okutsu
Hi Aleksej, Here are my review comments. - The copyright header of the data files shouldn't be removed. - TimeZoneNames.java: - Middle Europe Time, MET}}, + MET, MET}}, I don't think the long name should be changed. I didn't

Re: i18n dev RFR: 8025255: (tz) Support tzdata2013g

2013-10-14 Thread Masayoshi Okutsu
On 13年10月10日 09:54 下午, Masayoshi Okutsu wrote: Hi Aleksej, Here are my review comments. - The copyright header of the data files shouldn't be removed. - TimeZoneNames.java: - Middle Europe Time, MET}}, + MET, MET}}, I don't think the long name should be changed. I didn't review the localized

Re: i18n dev RFR: 8025703: Update LSR datafile for BCP 47

2013-10-16 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 10/17/2013 10:39 AM, Yuka Kamiya wrote: Hi, Please review this fix for JDK 8. This is to update data for locale matching. http://bugs.sun.com/view_bug.do?bug_id=8025703 http://cr.openjdk.java.net/~peytoia/8025703/webrev.00/ Thanks, -- Yuka

Re: i18n dev RFR: 8026772: test/sun/util/resources/TimeZone/Bug6317929.java failing

2013-10-24 Thread Masayoshi Okutsu
://bugs.openjdk.java.net/browse/JDK-8025051). For now, webrev [2] looks fine to take care of the short term regression failure. thanks, -michael On 13?10?22? 09:29 ??, Masayoshi Okutsu wrote: Hi Michael, 27 *@summary Test case for tzdata2005m support for 9 locales What's the purpose of this test

Re: i18n dev [8] Request for review: 8026108: [it, ja, zh_CN] wrong translation in jar example.

2013-10-28 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 10/29/2013 2:05 PM, Michael Fang wrote: Hello, Please help to review the changes (3 line fix) for the following CR: https://bugs.openjdk.java.net/browse/JDK-8026108 The webrev is available here: http://cr.openjdk.java.net/~mfang/8026108/

Re: i18n dev [8] Request for review: 8008437: [sv] over-translation in java command line outputs

2013-10-29 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 10/29/2013 2:02 PM, Michael Fang wrote: Hello, Please help to review the changes (1 line fix) for the following CR: https://bugs.openjdk.java.net/browse/JDK-8008437 https://bugs.openjdk.java.net/browse/JDK-8008437 The webrev is available here:

Re: i18n dev 8028734: test/java/util/Locale/InternationalBAT.java changes does not restore the default TimeZone

2013-11-21 Thread Masayoshi Okutsu
On 11/21/2013 2:08 AM, Alan Bateman wrote: We have a number of test failures in agentvm mode that appear to be caused by tests changing the default TimeZone and not restoring it. These failures become very intermittently when running with concurrency as it is unpredictable as to the sequence

Re: i18n dev [8] Request for review: 7090826: Newly added codes need to be localized into pt_BR in LocaleNames.

2013-12-16 Thread Masayoshi Okutsu
://cr.openjdk.java.net/~mfang/7090826/webrev.01/ JPRT build also completed successfully and passed the core testset. thanks, -michael On 13年12月11日 08:14 下午, Masayoshi Okutsu wrote: src/share/classes/sun/util/resources/pt/LocaleNames_pt.properties: Looks like CS (transitionally reserved) has been removed

Re: i18n dev RFR: 8025051: Update resource files for TimeZone display names

2013-12-19 Thread Masayoshi Okutsu
On 12/18/2013 6:43 PM, Aleksej Efimov wrote: Hi, Please help to review a fix [1] for 8025051 bug [2]. The following fix includes: Common to all modified files: - All year ranges in the copyright header should be modified accordingly. - The translation of time zone generic names were added

Re: i18n dev RFR: 8025051: Update resource files for TimeZone display names

2013-12-23 Thread Masayoshi Okutsu
translations in translation files. I suggest two approaches to resolve it: 1. Log different bug with all problems in translation files. 2. Wait for the next resource file translation update to address these problems. -Aleksej On 12/19/2013 12:04 PM, Masayoshi Okutsu wrote: On 12/18/2013 6:43

Re: i18n dev [8] Request for review: 8026570: NLS: jdk8 man page update

2013-12-24 Thread Masayoshi Okutsu
Looks like all spaces between English words and Japanese characters have been removed. Why is that? I checked (OS native) man pages in Japanese on Solaris and Linux. They have spaces. I do prefer to have spaces. Thanks, Masayoshi On 12/23/2013 5:54 PM, Michael Fang wrote: Hi, Please help

Re: i18n dev RFR: 8030822: (tz) Support tzdata2013i

2014-01-22 Thread Masayoshi Okutsu
Hi Aleksej, I think this one is the first tzdata change for JDK9. So I'd suggest that all the TimeZoneNames*.properties files, which were temporarily created for the translation work, be removed. Thanks, Masayoshi On 1/21/2014 10:17 PM, Aleksej Efimov wrote: Hi, Can I have a review for

Re: i18n dev [9] RFR 8030696: Norwegian locales nb_NO and nn_NO should be available locales

2014-01-30 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 1/31/2014 9:28 AM, Naoto Sato wrote: Hello, Please review the following fix: https://bugs.openjdk.java.net/browse/JDK-8030696 http://cr.openjdk.java.net/~naoto/8030696/webrev.00/ It basically adds nb_NO and nn_NO in the returned array from

Re: i18n dev [9] RFR 8027289: [Windows zh_CN] NumberFormat: Incorrect sequence of loading currency symbol

2014-02-10 Thread Masayoshi Okutsu
I wonder if we can utilize the locale matching mechanism rather than tweaking the makefile. zh-CN and zh-Hans-CN can be treated as equivalents for looking up the JRE locales. Masayoshi On 2/5/2014 11:54 AM, Naoto Sato wrote: Hello, Please review this fix:

Re: i18n dev [9] RFR 8027289: [Windows zh_CN] NumberFormat: Incorrect sequence of loading currency symbol

2014-02-12 Thread Masayoshi Okutsu
preferred adapter. However, on the JRE's adapter side, it still needs to declare that Hans/Hant locales in the supported locales list. This fix is to address this latter part. Naoto On 2/10/14, 12:23 AM, Masayoshi Okutsu wrote: I wonder if we can utilize the locale matching mechanism rather than

Re: i18n dev RFR: 8038306: (tz) Support tzdata2014b

2014-04-04 Thread Masayoshi Okutsu
not used anywhere. Thanks, Aleksej On 04/03/2014 06:21 PM, Masayoshi Okutsu wrote: Hi Aleksej, Sorry, but I forgot about the generic names. Coordinated Universal Time and UTCshouldn't be the generic names. You will need to invent the names, something like Troll Time. Thanks, Masayoshi On 4/2

Re: i18n dev [9] RFR: 8035726: A sentence is truncated in the API doc for j.u.Locale.LanguageRange.parse(String, Map).

2014-04-16 Thread Masayoshi Okutsu
Looks good. Masayoshi On 4/17/2014 12:44 PM, Yuka Kamiya wrote: Hello, Please review a simple doc fix to add a missing line. http://cr.openjdk.java.net/~peytoia/8035726/webrev.00/ https://bugs.openjdk.java.net/browse/JDK-8035726 Thanks, -- Yuka

Re: i18n dev RFR: [9] 8042360: Subtag syntax check is incomplete in Locale.LanguageRange

2014-05-07 Thread Masayoshi Okutsu
Looks good. Masayoshi On 5/7/2014 5:09 PM, Yuka Kamiya wrote: Hello, Please review a simple fix for JDK 9: Bug description: https://bugs.openjdk.java.net/browse/JDK-8042360 Webrev: http://cr.openjdk.java.net/~peytoia/8042360/webrev.00/ Thanks, -- Yuka

Re: i18n dev RFR: 8043012: (tz) Support tzdata2014c

2014-05-15 Thread Masayoshi Okutsu
Looks good to me. Masayoshi On 5/15/2014 7:59 AM, Aleksej Efimov wrote: Hello, Can I have a review for the tzdata2014c integration to JDK9. This is a standard release of tzdata (except the hurry with Egypt rules - the main part in this release). The following set of tests was executed with

Re: i18n dev 8037343 Ready for review

2014-05-18 Thread Masayoshi Okutsu
Looks good to me. Thanks, Masayoshi On 5/15/2014 4:37 PM, Alan Bateman wrote: Forwarding to i18n-dev as that it usually the list where changes to the locale and resources are maintained. -Alan On 15/05/2014 04:45, Sandipan Razzaque wrote: Hi all, Please find below the webrev for bug

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

2014-05-19 Thread Masayoshi Okutsu
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

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

2014-05-21 Thread Masayoshi Okutsu
we remove those dead code? Naoto On 5/19/26 H, 1:10 AM, Masayoshi Okutsu wrote: 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

Re: i18n dev 8037343 Ready for merge

2014-05-21 Thread Masayoshi Okutsu
Sorry, I forgot about LocaleDataTest. The fix looks good to me. Masayoshi On 5/22/2014 9:13 AM, Michael Fang wrote: Hi all, I created a test build and ran regression tests. LocaleDataTest failed. I have updated the test data related to this bug fix. Please review the changes related to

i18n dev [9] RFR: 8033627: UTC+02:00 time zones are not detected correctly on Windows

2014-05-23 Thread Masayoshi Okutsu
Hello, Could you please review the fix for JDK-8033627? This is lib/tzmappings update due to the Windows KB2794119 update. JBS: https://bugs.openjdk.java.net/browse/JDK-8033627 Webrev: http://cr.openjdk.java.net/~okutsu/9/8033627/webrev.00/ Thanks, Masayoshi

Re: i18n dev [9] RFR: 8038092: Re-examine Bidi reflective dependency on java.awt.font

2014-07-02 Thread Masayoshi Okutsu
Does JavaAWTFontAccessImpl need to use reflection for the TextAttribute constants? Masayoshi On 7/2/2014 9:42 AM, Naoto Sato wrote: I further modified the fix: - Made sure the SharedSecret is lazily evaluated. - Added the missing JavaAWTFontAccessImpl file - Added a test case

Re: i18n dev [9] RFR: 8048123: Replace calendars.properties with another mechanism to specify a new Japanese calendar era

2014-07-22 Thread Masayoshi Okutsu
are based on human lifetimes, that seems an invalid assumption. Stephen On 22 July 2014 08:06, Masayoshi Okutsu masayoshi.oku...@oracle.com wrote: Hello, Please review the change for JDK-8048123. This change removes all the era definitions in ${java.home}/lib/calendars.properties. (The property file

Re: i18n dev [9] RFR: 8048123: Replace calendars.properties with another mechanism to specify a new Japanese calendar era

2014-07-22 Thread Masayoshi Okutsu
On 7/22/2014 9:49 PM, Alan Bateman wrote: There are a couple of @SuppressWarnings values that I don't recognize, are these warnings that javac emits? These are what netbeans complained and suggested. So I assume that these warnings are all from javac. Other minor comments in passing. The

Re: i18n dev [9] RFR: 8048123: Replace calendars.properties with another mechanism to specify a new Japanese calendar era

2014-07-22 Thread Masayoshi Okutsu
update. It seems to me that one additional era is quite a risk to be baking into the JDK. Stephen On 22 July 2014 09:05, Masayoshi Okutsu masayoshi.oku...@oracle.com wrote: The assumption here is that it's enough to support one additional era until the era is added to the built-in eras in update

Re: i18n dev [9] RFR: 8048123: Replace calendars.properties with another mechanism to specify a new Japanese calendar era

2014-07-23 Thread Masayoshi Okutsu
, as the spec reads If the given era is invalid, such as the since value before the beginning of the last predefined era, the given era will be ignored? Naoto On 7/22/14, 12:06 AM, Masayoshi Okutsu wrote: Hello, Please review the change for JDK-8048123. This change removes all the era

Re: i18n dev [9] RFR: 8048123: Replace calendars.properties with another mechanism to specify a new Japanese calendar era

2014-08-06 Thread Masayoshi Okutsu
. http://cr.openjdk.java.net/~okutsu/9/8048123/webrev.02/ Thanks, Masayoshi On 7/31/2014 11:16 PM, Masayoshi Okutsu wrote: I've decided to follow the current spec -- ignoring any invalid property values. This way applications can still run without removing the property even after installing a fixed

i18n dev [9] RFR: 8055088: Optimization for locale resources loading isn't working

2014-08-18 Thread Masayoshi Okutsu
Hello, Please review the fix for the broken optimization code for resource bundle loading. bug: https://bugs.openjdk.java.net/browse/JDK-8055088 wevrev: http://cr.openjdk.java.net/~okutsu/9/8055088/webrev.00/ Note that BreakIteratorInfo and BreakIteratorRules, which are not used for any

Re: i18n dev [9] RFR 8038436: Re-examine the mechanism to determine available localedata and cldrdata

2014-08-25 Thread Masayoshi Okutsu
Here are my comments. - Looks like this change removed the 8055088 fix for BreakIteratorInfo optimization. - The langtags field in each *Impl class should be volatile. - DateFormatProviderImpl has static langtags to be shared by some other *Impl. But JRE and CLDR have different sets of

  1   2   3   >