Re: RFR: 8257733: Move module-specific data from make to respective module [v13]

2022-03-21 Thread Mandy Chung
On Mon, 21 Mar 2022 16:29:25 GMT, Magnus Ihse Bursie wrote: >> A lot (but not all) of the data in make/data is tied to a specific module. >> For instance, the publicsuffixlist is used by java.base, and fontconfig by >> java.desktop. (A few directories, like mainmanifest, is *actually* used by

Re: RFR: JDK-8280902 ResourceBundle::getBundle may throw NPE when invoked by JNI code with no caller frame [v4]

2022-03-03 Thread Mandy Chung
On Thu, 3 Mar 2022 16:55:46 GMT, Tim Prinzing wrote: >> The caller class returned by Reflection::getCallerClass was used to gain >> access to it's module in most cases and class loader in one case. I added a >> method to translate the caller class to caller module so that the decision >> of wh

Re: RFR: JDK-8280902 ResourceBundle::getBundle may throw NPE when invoked by JNI code with no caller frame [v3]

2022-03-02 Thread Mandy Chung
On Wed, 2 Mar 2022 21:53:01 GMT, Tim Prinzing wrote: >> The caller class returned by Reflection::getCallerClass was used to gain >> access to it's module in most cases and class loader in one case. I added a >> method to translate the caller class to caller module so that the decision >> of wh

Re: RFR: JDK-8280902 ResourceBundle::getBundle may throw NPE when invoked by JNI code with no caller frame

2022-03-02 Thread Mandy Chung
On Wed, 2 Mar 2022 18:56:40 GMT, Tim Prinzing wrote: > The caller class returned by Reflection::getCallerClass was used to gain > access to it's module in most cases and class loader in one case. I added a > method to translate the caller class to caller module so that the decision of > what m

Re: RFR: JDK-8276447 Deprecate finalization-related methods for removal

2021-11-19 Thread Mandy Chung
On Fri, 19 Nov 2021 18:15:46 GMT, Brent Christian wrote: >> src/java.base/share/classes/java/lang/Object.java line 481: >> >>> 479: * system resources or to perform other cleanup. >>> 480: * >>> 481: * When running in a Java virtual machine in which finalization >>> has been >>

Re: RFR: JDK-8276447 Deprecate finalization-related methods for removal

2021-11-19 Thread Mandy Chung
On Thu, 18 Nov 2021 21:51:30 GMT, Brent Christian wrote: > Here are the code changes for the "Deprecate finalizers in the standard Java > API" portion of JEP 421 ("Deprecate Finalization for Removal") for code > review. > > This change makes the indicated deprecations, and updates the API spec

Re: RFR: JDK-8276447 Deprecate finalization-related methods for removal

2021-11-19 Thread Mandy Chung
On Thu, 18 Nov 2021 21:51:30 GMT, Brent Christian wrote: > Here are the code changes for the "Deprecate finalizers in the standard Java > API" portion of JEP 421 ("Deprecate Finalization for Removal") for code > review. > > This change makes the indicated deprecations, and updates the API spec

Re: RFR: 8268124: Update java.lang to use switch expressions [v5]

2021-06-09 Thread Mandy Chung
On Wed, 9 Jun 2021 10:25:35 GMT, Patrick Concannon wrote: >> Hi, >> >> Could someone please review my code for updating the code in the `java.lang` >> packages to make use of the switch expressions? >> >> Kind regards, >> Patrick > > Patrick Concannon has updated the pull request incrementall

Re: RFR: 8268124: Update java.lang to use switch expressions [v3]

2021-06-03 Thread Mandy Chung
On Thu, 3 Jun 2021 11:01:02 GMT, Patrick Concannon wrote: >> Hi, >> >> Could someone please review my code for updating the code in the `java.lang` >> packages to make use of the switch expressions? >> >> Kind regards, >> Patrick > > Patrick Concannon has updated the pull request incrementall

Re: RFR: 8266459: Implement JEP 411: Deprecate the Security Manager for Removal

2021-05-18 Thread Mandy Chung
On Mon, 17 May 2021 18:23:41 GMT, Weijun Wang wrote: > Please review this implementation of [JEP > 411](https://openjdk.java.net/jeps/411). > > The code change is divided into 3 commits. Please review them one by one. > > 1. > https://github.com/openjdk/jdk/commit/576161d15423f58281e384174d28

Re: RFR: 8267184: JEP 411: Add -Djava.security.manager=allow to tests calling System.setSecurityManager

2021-05-18 Thread Mandy Chung
On Mon, 17 May 2021 17:51:36 GMT, Weijun Wang wrote: > Please review the test changes for [JEP > 411](https://openjdk.java.net/jeps/411). > > With JEP 411 and the default value of `-Djava.security.manager` becoming > `disallow`, tests calling `System.setSecurityManager()` need > `-Djava.secu

Re: RFR: 8257733: Move module-specific data from make to respective module [v2]

2020-12-08 Thread Mandy Chung
On Tue, 8 Dec 2020 18:16:15 GMT, Mandy Chung wrote: >> @wangweij Moving build tools is a related, but separate, question, which is >> addressed by https://bugs.openjdk.java.net/browse/JDK-8241463. >> >> I send out a review earlier this year (see >> https://m

Re: RFR: 8257733: Move module-specific data from make to respective module [v2]

2020-12-08 Thread Mandy Chung
On Tue, 8 Dec 2020 16:19:05 GMT, Magnus Ihse Bursie wrote: >> Is there a plan to move make/jdk/src/classes/build/tools/intpoly into >> java.base as well? >> >> Update: I see all subdirs in tools are still there. > > @wangweij Moving build tools is a related, but separate, question, which is >

Re: RFR: 8257733: Move module-specific data from make to respective module [v2]

2020-12-07 Thread Mandy Chung
On Mon, 7 Dec 2020 19:31:59 GMT, Jonathan Gibbons wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Move to share/data, and move jdwp.spec to java.se > > I have reviewed all lines in the patch file with or near

Re: RFR: JDK-8255262: Remove use of legacy custom @spec tag

2020-10-22 Thread Mandy Chung
On Thu, 22 Oct 2020 17:16:23 GMT, Jonathan Gibbons wrote: > The change is (just) to remove legacy usages of a JDK-private custom tag. Marked as reviewed by mchung (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/814

Re: RFR: 8253208: Move CDS related code to a separate class [v3]

2020-09-22 Thread Mandy Chung
On Mon, 21 Sep 2020 22:24:15 GMT, Yumin Qi wrote: >> With more CDS related code added to VM, it is time to move CDS code to a >> separate class. CDS is the new class which is >> specific to CDS. >> Tests: tier1-4 > > Yumin Qi has updated the pull request incrementally with one additional > comm

Re: RFR: 8253208: Move CDS related code to a separate class [v2]

2020-09-21 Thread Mandy Chung
On Mon, 21 Sep 2020 18:17:55 GMT, Yumin Qi wrote: >> With more CDS related code added to VM, it is time to move CDS code to a >> separate class. CDS is the new class which is >> specific to CDS. >> Tests: tier1-4 > > Yumin Qi has updated the pull request incrementally with one additional > comm

Re: [12] RFR: 8211961: Broken link in java.util.Locale

2018-10-12 Thread Mandy Chung
+1 Mandy On 10/12/18 2:38 PM, naoto.s...@oracle.com wrote: Hi, Please review this simple doc fix to the following issue: https://bugs.openjdk.java.net/browse/JDK-8211961 The proposed changeset is located at: http://cr.openjdk.java.net/~naoto/8211961/webrev.01/ Although @link is preferred i

Re: RFR 8209184: JDK8 ResourceBundle vulnerable to GC (fix included)

2018-08-16 Thread mandy chung
On 8/16/18 2:16 AM, Adam Farley8 wrote: Hi Mandy, I request that you review this for 8u. -- @@ -1398,10 +1398,18 @@          bundle = baseBundle;      } +    keepAlive(loader);      return bundle;  }  /** + * Keeps the argument Class

Re: RFR 8209184: JDK8 ResourceBundle vulnerable to GC (fix included)

2018-08-15 Thread mandy chung
){         //Do nothing. } -- Best Regards Adam Farley Hans Boehm wrote on 15/08/2018 06:44:08: From: Hans Boehm To: Mandy Chung Cc: adam.far...@uk.ibm.com, core-libs-dev , i18n-dev@openjdk.java.net Date: 15/08/2018 06:44 Subject: Re: RFR 8209184: JDK8 ResourceBundle

Re: RFR 8209184: JDK8 ResourceBundle vulnerable to GC (fix included)

2018-08-14 Thread mandy chung
the condition code. There is no guarantee the reference will still be around when you expect it. I haven't come up with a great compiler-independent replacement for reachabilityFence. On Tue, Aug 14, 2018 at 8:25 AM mandy chung <mailto:mandy.ch...@oracle.com>> wrote:

Re: RFR 8209184: JDK8 ResourceBundle vulnerable to GC (fix included)

2018-08-14 Thread mandy chung
Hi Adam, Have you tried Peter's suggestion if an empty static method taking an Object parameter? Does it work for you? Your proposed approach seems fine and I would suggest to put the check in a static keepAlive method that will make it explicitly. Mandy On 8/10/18 8:42 AM, Adam Farley8 wrote

Re: RFR: JDK-8205158: Update the .md files for 3rd party software Unicode 10.0, ICU 60.1, and CLDR v33

2018-06-22 Thread mandy chung
-8202537 Linked mentioned issues with this one. Thanks, Rachna On 6/22/18 9:57 PM, mandy chung wrote: On 6/22/18 6:54 AM, Rachna Goel wrote: Hi, Kindly review fix to update legal files for Unicode, CLDR and ICU. Issue: https://bugs.openjdk.java.net/browse/JDK-8205158 Patch :http

Re: RFR: JDK-8205158: Update the .md files for 3rd party software Unicode 10.0, ICU 60.1, and CLDR v33

2018-06-22 Thread mandy chung
On 6/22/18 6:54 AM, Rachna Goel wrote: Hi, Kindly review fix to update legal files for Unicode, CLDR and ICU. Issue: https://bugs.openjdk.java.net/browse/JDK-8205158 Patch :http://cr.openjdk.java.net/~rgoel/JDK-8205158/webrev.02/ Looks okay. What are the issues that upgrades these librar

Re: ResourceBundleControlProvider replacement for java 9?

2018-01-13 Thread mandy chung
g transversal is not possible with modules which should be fixed IMHO. Just for my knowledge: why adding a flag is not an option? Le 13 janv. 2018 18:05, "mandy chung" <mailto:mandy.ch...@oracle.com>> a écrit : team1 has a dependency com.company.resources.spi.Team1Provide

Re: ResourceBundleControlProvider replacement for java 9?

2018-01-13 Thread mandy chung
broken if modules use module-info only to define a SPI for instance. Le 13 janv. 2018 00:21, "mandy chung" <mailto:mandy.ch...@oracle.com>> a écrit : Let me try to see if I understand your situation correctly. On 1/12/18 12:59 PM, Romain Manni-Bucau wr

Re: ResourceBundleControlProvider replacement for java 9?

2018-01-12 Thread mandy chung
Let me try to see if I understand your situation correctly. On 1/12/18 12:59 PM, Romain Manni-Bucau wrote: All are com.company.* Assuming service packages use a resource bundle. team1, team2, team3 all uses a resource bundle.  Let's say com.company.team1.service calls ResourceBundle.get

Re: ResourceBundleControlProvider replacement for java 9?

2018-01-12 Thread mandy chung
On 1/12/18 11:41 AM, Romain Manni-Bucau wrote: Hello Comments inline Le 12 janv. 2018 20:07, "mandy chung" <mailto:mandy.ch...@oracle.com>> a écrit : Hi Romain, I expect no impact to the translation process. Can you give an example of one resource bund

Re: ResourceBundleControlProvider replacement for java 9?

2018-01-12 Thread mandy chung
Hi Romain, I expect no impact to the translation process. Can you give an example of one resource bundle and its packaged artifact and where the localized bundles are packaged? As Naoto suggests, it would be helpful to migrate one resource bundle to ResourceBundleProvider as an exercise that

Review Request: JDK-8193767: Improve javadoc in ResourceBundle working with modules

2017-12-18 Thread mandy chung
http://cr.openjdk.java.net/~mchung/jdk11/webrevs/8193767/ The above includes the webrev, specdiff and javadoc for this update to ResourceBundle, ResourceBundleProvider, and AbstractResourceBundleProvider to improve the documentation of ResourceBundles working with modules. thanks Mandy

Re: [10] RFR: 8189272 & 8189291

2017-10-24 Thread mandy chung
On 10/24/17 8:00 AM, Naoto Sato wrote: Hi Mandy, Sorry, I seem to have generated/uploaded an incorrect webrev for 8189291. Here is the correct one: http://cr.openjdk.java.net/~naoto/8189291/webrev.02/ +1 Mandy

Re: [10] RFR: 8189272 & 8189291

2017-10-23 Thread mandy chung
enclosing class as suggested. Other than that, the change looks good. Mandy Naoto On 10/20/17 2:45 PM, mandy chung wrote: On 10/20/17 2:20 PM, Naoto Sato wrote: Hello, Please review the changes for the following two issues: 8189272: CLDR and JRE LocaleProviderAdapters silently swallow

Re: [10] RFR: 8189272 & 8189291

2017-10-20 Thread mandy chung
On 10/20/17 2:20 PM, Naoto Sato wrote: Hello, Please review the changes for the following two issues: 8189272: CLDR and JRE LocaleProviderAdapters silently swallow exceptions [1] 8189291: Test policy should extend the default system policy [2] The proposed fixes for the above issues are lo

Re: [10] RFR (XS): 8185251: java/util/ResourceBundle/modules/layer/run.sh failed on Japanese locale.

2017-07-31 Thread Mandy Chung
> On Jul 31, 2017, at 9:20 PM, Naoto Sato wrote: > > > > On 7/31/17 7:38 PM, Mandy Chung wrote: >> Can you explain how this fixes it when the default locale is Japanese? > > The bundle lookup searches for bundles in the order of en_US -> en -> ja_JP > -

Re: [10] RFR (XS): 8185251: java/util/ResourceBundle/modules/layer/run.sh failed on Japanese locale.

2017-07-31 Thread Mandy Chung
> On Jul 31, 2017, at 3:51 PM, Naoto Sato wrote: > > Hi Mandy, > > Would you please review the fix to the following issue? > > https://bugs.openjdk.java.net/browse/JDK-8185251 > > The proposed fix is located at: > > http://cr.openjdk.java.net/~naoto/8185251/webrev.00/ > > The test assumed t

Re: [9] RFR: 8180375: Rename Provider to .spi.Provider

2017-05-17 Thread Mandy Chung
> On May 17, 2017, at 3:06 PM, Naoto Sato wrote: > > Revised the fix according to your suggestions: > > http://cr.openjdk.java.net/~naoto/8180375/webrev.01/ > http://cr.openjdk.java.net/~naoto/8180375/webrev.01-00/ (change since ver.00) Looks okay to me. Thanks Mandy

Re: [9] RFR: 8180375: Rename Provider to .spi.Provider

2017-05-16 Thread Mandy Chung
Naoto, The javadoc of getBundle(String, Module) and getBundle(String,Locale,Module) methods also mention the service type “baseName”Provider that needs update as well. Mandy > On May 16, 2017, at 2:52 PM, Mandy Chung wrote: > > >> On May 16, 2017, at 11:14 AM, Na

Re: [9] RFR: 8180375: Rename Provider to .spi.Provider

2017-05-16 Thread Mandy Chung
> On May 16, 2017, at 11:14 AM, Naoto Sato wrote: > > Hello, > > Please review the changes to the following issue: > > https://bugs.openjdk.java.net/browse/JDK-8180375 > > The proposed fix is located at: > > http://cr.openjdk.java.net/~naoto/8180375/webrev.00/ > > This is to change the pack

Re: [9] RFR: 8172365: Provide a better migration path for ResourceBundleControlProvider

2017-01-23 Thread Mandy Chung
trolProvider} implementations. Refer to the >> + * description of modifying the >> default >> + * behavior. >> * >> * @param baseName the base name of the resource bundle, >> * a fully qualified class name >> >&g

Re: [9] RFR: 8172365: Provide a better migration path for ResourceBundleControlProvider

2017-01-23 Thread Mandy Chung
> On Jan 23, 2017, at 9:14 AM, Naoto Sato wrote: > > http://cr.openjdk.java.net/~naoto/8172365/webrev.05/ > >> >> The fix is to reinstate the code that has been removed with 8171189, >> with modification to load implementations with ServiceLoader.load() >> method. That way, SPI implementations

Re: [9] RFR: 8171189: Deprecate ResourceBundleControlProvider for removal

2016-12-19 Thread Mandy Chung
Looks fine. To our knowledge, this ResourceBundleControlProvider SPI is rarely used, if any. The extension mechanism was removed in jdk-9+41 and there isn’t any issue filed related to this SPI. I agree to deprecate ResourceBundleControlProvider for removal. Mandy > On Dec 19, 2016, at 9:08 A

Review Request JDK-8170772: ResourceBundle improper caching causes tools/javadoc tests intermittently

2016-12-09 Thread Mandy Chung
Naoto, Can you review this ResourceBundle caching fix? The caller module may be different than the specified module to ResourceBundle.getBundle(String, Module) method and it should also part of the cache key. http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8170772/webrev.00/ The new test shows

Re: ResourceBundleProvider(s) design

2016-08-08 Thread Mandy Chung
Hi Peter, Sorry for the delay in reply. Still catching up on mails from vacation. > On Aug 4, 2016, at 3:26 AM, Peter Levart wrote: > > > On 08/04/2016 11:21 AM, Peter Levart wrote: >> If the providing module declares the service type, then the consuming module >> will have an explicit depen

Re: [9] RFR: 8159781: jlink --include-locales fails with java.util.regex.PatternSyntaxException

2016-06-22 Thread Mandy Chung
> On Jun 21, 2016, at 9:53 PM, Naoto Sato wrote: > > Modified line 243-246 to avoid generating a new List instance with > Collectors.toList(): > > http://cr.openjdk.java.net/~naoto/8159781/webrev.03/ +1 Mandy

Re: RFR: 8159766: "Switching encoding from UTF-8 to ISO-8859-1" log message should be trace/debug message

2016-06-21 Thread Mandy Chung
> On Jun 20, 2016, at 11:34 PM, Masayoshi Okutsu > wrote: > > Hi, > > Please review the fix for JDK-8159766. The logging code has been removed > after all. No additional regression test. The message should no longer be > logged to the .jtr file with > java/util/ResourceBundle/UTF8Properties

Re: [9] RFR: 8159781: jlink --include-locales fails with java.util.regex.PatternSyntaxException

2016-06-20 Thread Mandy Chung
> I will modify the "regex:" prepending as you suggested. >> >> Naoto >> >> On 6/17/16 3:50 PM, Mandy Chung wrote: >>> >>>> On Jun 17, 2016, at 3:29 PM, Naoto Sato wrote: >>>> >>>> Decided to fix thi

Re: [9] RFR: 8159781: jlink --include-locales fails with java.util.regex.PatternSyntaxException

2016-06-17 Thread Mandy Chung
> On Jun 17, 2016, at 3:29 PM, Naoto Sato wrote: > > Decided to fix this separately from the other include locales issues. Here is > the bug and the proposed fix: > > https://bugs.openjdk.java.net/browse/JDK-8159781 > http://cr.openjdk.java.net/~naoto/8159781/webrev.00/ The change looks okay.

Re: RFR: 8158272 & 8158468 (tools/jlink/plugins/IncludeLocalesPluginTest.java bug fixes)

2016-06-13 Thread Mandy Chung
> On Jun 12, 2016, at 11:10 PM, Masayoshi Okutsu > wrote: > > On 6/11/2016 5:53 AM, Mandy Chung wrote: >>> On Jun 10, 2016, at 12:08 AM, Masayoshi Okutsu >>> wrote: >>> >>> (re-sending to include jigsaw-dev) >>> >>> Hi,

Re: RFR: 8158272 & 8158468 (tools/jlink/plugins/IncludeLocalesPluginTest.java bug fixes)

2016-06-10 Thread Mandy Chung
> On Jun 10, 2016, at 12:08 AM, Masayoshi Okutsu > wrote: > > (re-sending to include jigsaw-dev) > > Hi, > > Please review fixes for 8158272 and 8158468. The test had several problems. > > : > Webrev: > http://cr.openjdk.java.net/~okutsu/9/8158272.8158468/webrev.00 It’s good that you replac

Review request: JDK-8158604: test/java/util/ResourceBundle/modules/appbasic missing @test

2016-06-02 Thread Mandy Chung
Masayoshi, test/java/util/ResourceBundle/modules/appbasic is not run because appbasic.sh was missed. I notice it while looking at the existing tests. I took the opportunity to improve the javadoc and update appbasic test to serve as a simple example of AbstractResourceBundleProvider. http://

Re: RFR: 8152817: Locale data loading fails silently when running with a security manager

2016-03-31 Thread Mandy Chung
> On Mar 31, 2016, at 2:29 AM, Masayoshi Okutsu > wrote: > > Webrev has been updated. I realized that some code which was for loading > resource bundles in both java.base and jdk.localedata remained. The providers > are no longer used for loading resource bundles in java.base. The code was >

Re: RFR: 8152817: Locale data loading fails silently when running with a security manager

2016-03-30 Thread Mandy Chung
> On Mar 30, 2016, at 8:54 AM, Alan Bateman wrote: > > On 30/03/2016 16:48, Mandy Chung wrote: >>> On Mar 30, 2016, at 8:40 AM, Masayoshi Okutsu >>> wrote: >>> >>> Hello, >>> >>> Please review the fix for JDK-8152817. The fix

Re: RFR: 8152817: Locale data loading fails silently when running with a security manager

2016-03-30 Thread Mandy Chung
> On Mar 30, 2016, at 8:40 AM, Masayoshi Okutsu > wrote: > > Hello, > > Please review the fix for JDK-8152817. The fix is to load locale data from > its own module without calling > ResourceBundleProviderSupport.loadResourceBundle. > > I changed the synopsis of the JBS issue because it's a

Re: [9] RFR: 8150434: Remove redundant "jdk_localedata" from the CLDR locale data meta info class name

2016-02-23 Thread Mandy Chung
> On Feb 23, 2016, at 10:20 AM, Naoto Sato wrote: > > Hello, > > Please review this small fix to the following issue: > > https://bugs.openjdk.java.net/browse/JDK-8150434 > > The fix is located at: > > http://cr.openjdk.java.net/~naoto/8150434/webrev.00/ +1 Dropping the _jdk_localedata suf

Review Request for 8074431: Remove native2ascii tool

2015-05-18 Thread Mandy Chung
This patch removes native2ascii command-line tool from JDK 9 as proposed in March [1]. Webrev at: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8074431/webrev.00/ Jon - A langtools test is updated to use a new Native2Ascii.java helper class instead. Existing code that calls sun.tools.nativ

Re: [9] RFR: 8075545: Add permission check for locale service provider implementations

2015-04-28 Thread Mandy Chung
On 4/28/2015 2:59 PM, Naoto Sato wrote: Hi, Please review the changes for the following bug: https://bugs.openjdk.java.net/browse/JDK-8075545 The fix is to check the RuntimePermission target "localeServiceProvider" on instance creation. The fix is located at: http://cr.openjdk.java.net/~nao

native2ascii be removed from JDK?

2015-03-30 Thread Mandy Chung
There are several existing ways to do native to ascii conversion. For example, IDEs like NetBeans and IntelliJ support the transparent native-to-ascii conversion. There is also maven native 2 ascii plugin. JEP 226 proposes to support UTF Properties file that will address the original motivati

Re: [9] RFR: 8061382: Separate CLDR locale data from JRE locale data

2014-10-22 Thread Mandy Chung
On 10/20/2014 5:25 PM, Naoto Sato wrote: My motive for the question is the naming because the changes mean we have jdk.localedata and jdk.localedata.cldr, an arrangement that suggests that the CLDR locale data augments the jdk.localedata module. It may be that we need to choose more suitable

Re: [9] RFR: 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata

2014-09-16 Thread Mandy Chung
even some portion of CLDR locale data in java.base would make it not possible for them to jrecreate the image without CLDR. Naoto On 9/16/14, 2:09 PM, Mandy Chung wrote: On 9/16/14 9:57 AM, Naoto Sato wrote: Yes, the current plan is to make the CLDR's data the default one, only when

Re: [9] RFR: 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata

2014-09-16 Thread Mandy Chung
Mandy Naoto On 9/16/14, 9:50 AM, Mandy Chung wrote: At one point you mention that CLDR will become the default in JDK 9. Would you need to move them back to java.base when it becomes the default? Mandy On 9/16/14 9:30 AM, Naoto Sato wrote: CLDR's data is accessible only when cldrdata.jar is

Re: [9] RFR: 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata

2014-09-16 Thread Mandy Chung
urces. There is no need to put their "en" resources in java.base. Naoto On 9/15/14, 6:11 PM, Mandy Chung wrote: On 9/15/2014 4:30 PM, Naoto Sato wrote: Hello, Please review the fix for the following issue: https://bugs.openjdk.java.net/browse/JDK-8058509 The we

Re: [9] RFR: 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata

2014-09-15 Thread Mandy Chung
On 9/15/2014 4:30 PM, Naoto Sato wrote: Hello, Please review the fix for the following issue: https://bugs.openjdk.java.net/browse/JDK-8058509 The webrev is located at: http://cr.openjdk.java.net/~naoto/8058509/webrev.0/ The fix is intended to move the LocaleDataMetaInfo of CLDR from java.

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

2014-09-02 Thread Mandy Chung
On 8/29/14 2:07 PM, Naoto Sato wrote: I incorporated the suggestions from Mandy and Alan. Also one change since the last webrev was to revert the hard-coding of the supported locales list back to the one which dynamically generates the lists at the build time. I initially thought static listing

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

2014-08-28 Thread Mandy Chung
Naoto, This looks better. Thanks for the update. The getSupportedLocaleString method in both EnLocaleDataMetaInfo and NonEnLocaleDataMetaInfo has the javadoc that missing the description. sun.util.locale.provider is a package in java.base and NonEnLocaleDataMetaInfo has to be in a different

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

2014-08-22 Thread Mandy Chung
On 8/22/14 3:37 PM, Naoto Sato wrote: I wonder ifavailableLanguageTags andgetSupportedLocaleString should return a list or an array of String (see comment below). There are two provider implementations for sun.util.locale.provider.LocaleDataMetaInfo and two service config files as yo

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

2014-08-22 Thread Mandy Chung
On 8/22/14 11:46 AM, Naoto Sato wrote: http://cr.openjdk.java.net/~naoto/8038436/webrev.3/ I skimmed on the patch and have a few initial comment/questions. JREENLocaleDataMetaInfo JRENonENLocaleDataMetaInfo - are the lists of locale names generated previously? The long lines need to be

Re: RFR JDK-8013254: Constructor \w need update to add the support of \p{Join_Control}

2013-05-01 Thread Mandy Chung
On 4/30/2013 2:01 PM, Xueming Shen wrote: http://cr.openjdk.java.net/~sherman/8013254/webrev/ Looks good. Mandy -Sherman On 04/30/2013 10:01 AM, Xueming Shen wrote: Hi, It appears we dropped the ball on u+200c and u+200d when we updated the "simple word boundaries" back to jdk7 [1]. You

Re: RFR: 7017818 NLS: JConsoleResources.java cannot be handled by translation team

2012-05-22 Thread Mandy Chung
Erik, I approve what you have - please go through and fix the formatting nits. I inlined my comment below and you can follow up them later if needed. On 5/22/2012 12:40 PM, Erik Gahlin wrote: Thanks for reviewing, I got a lot of unused import warnings from the IDE when I changed the Resour

Re: RFR: 7017818 NLS: JConsoleResources.java cannot be handled by translation team

2012-05-21 Thread Mandy Chung
Erik, I like your idea of trying to define the string constants for the keys to benefit from the compiler checking and catch any issue due to typos at compile time. My review comments below. Your webrev includes other cleanup. While it's good to do the simple minor cleanup with this fix, I'd l

Review request: TEST_BUG: ResourceBundle/Bug4168625Test.java and TestBug4179766.java fails in samevm mode

2010-06-15 Thread Mandy Chung
Naoto, Can you review this test fix: Fixed 6961506: TEST_BUG: ResourceBundle/Bug4168625Test.java and TestBug4179766.java fails in samevm mode Webrev at: http://cr.openjdk.java.net/~mchung/6961506/webrev.00/ This fixes the tests to set the parent class loader of Loader and SimpleLoader to