Withdrawn: 8293017: Improve hash calculation parallelism in jmod/jlink

2022-10-24 Thread duke
On Mon, 29 Aug 2022 08:55:06 GMT, Aleksey Shipilev wrote: > `jmod`/`jlink` are executed during build time to produce the `jmod` and the > base modules image. On slow hardware (Raspberry Pi -class, for example) > and/or slow VMs (debug, interpreter-only, for example) this takes a while. > Profi

Re: RFR: 8295823: Use enhanced-for cycle instead of Enumeration in java.naming

2022-10-24 Thread Vyom Tewari
On Thu, 20 Oct 2022 20:28:37 GMT, Andrey Turbanov wrote: > `java.util.Enumeration` is a legacy interface from java 1.0. > There are couple of cycles which use it to iterate over collections. We can > replace this manual cycle with enchanced-for, which is shorter and easier to > read. Looks OK

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Chris Plummer
On Mon, 24 Oct 2022 19:21:07 GMT, Magnus Ihse Bursie wrote: >> Properties files is essentially source code. It should have the same >> whitespace checks as all other source code, so we don't get spurious >> trailing whitespace changes. >> >> With the new Skara jcheck, it is possible to increas

Re: RFR: 8294989: ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java [v13]

2022-10-24 Thread Brent Christian
On Mon, 24 Oct 2022 21:19:21 GMT, Justin Lu wrote: >> Issue: Resource bundle name does not follow proper naming conventions >> according to [getBundle >> method](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/ResourceBundle.html#getBundle(java.lang.String,java.util.Local

RFR: 8295537: Debug tracing for resolved java.lang.invoke.CallSite

2022-10-24 Thread Ioi Lam
I've added a `java.lang.invoke.MethodHandle.TRACE_CALLSITE` property to show how invokedynamic call sites are resolved. For example: public class StrConcat { static String hello = "Hello"; static String world = "World"; public static void main(String args[]) { System.out.pri

Re: RFR: 8294989: ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java [v13]

2022-10-24 Thread Justin Lu
> Issue: Resource bundle name does not follow proper naming conventions > according to [getBundle > method](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/ResourceBundle.html#getBundle(java.lang.String,java.util.Locale,java.lang.Module)) > for base name parameter > > Fix

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Magnus Ihse Bursie
On Mon, 24 Oct 2022 19:39:21 GMT, Jonathan Gibbons wrote: > I think it would be better to try and remove incidental trailing whitespace > first, before encoding any remaining whitespace. Hiding the trailing > whitespace as a Unicode escape seems like a bad idea, equivalent to sweeping > the is

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Naoto Sato
On Mon, 24 Oct 2022 20:08:02 GMT, Andy Goryachev wrote: > Good idea! I wonder if this should be done as a unit test. go through all the > bundles and check leading/trailing whitespace. Right. Definitely not a job for `jcheck`, but it should be considered somewhere in the l10n process. ---

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Andy Goryachev
On Mon, 24 Oct 2022 19:58:31 GMT, Naoto Sato wrote: > I think what we can do is check the original English properties values that > the engineers provided, and if there is no trailing spaces there, we can > safely remove trailing spaces in localized bundles. Good idea! I wonder if this should

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Naoto Sato
On Mon, 24 Oct 2022 19:21:07 GMT, Magnus Ihse Bursie wrote: >> Properties files is essentially source code. It should have the same >> whitespace checks as all other source code, so we don't get spurious >> trailing whitespace changes. >> >> With the new Skara jcheck, it is possible to increas

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Andy Goryachev
On Mon, 24 Oct 2022 19:23:04 GMT, Andy Goryachev wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Revert "Remove check for .properties from jcheck" >> >>This reverts commit c91fdaa19dc06351598bd1c061

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Andy Goryachev
On Mon, 24 Oct 2022 19:34:56 GMT, Magnus Ihse Bursie wrote: > For the files which have trailing "whitespace" (now as unicode sequences), I > will file follow-up bugs on the respective components to verify if this is > indeed correct, or a bug that should be fixed. probably not needed - if nobo

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Jonathan Gibbons
On Mon, 24 Oct 2022 19:21:07 GMT, Magnus Ihse Bursie wrote: >> Properties files is essentially source code. It should have the same >> whitespace checks as all other source code, so we don't get spurious >> trailing whitespace changes. >> >> With the new Skara jcheck, it is possible to increas

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Andy Goryachev
On Mon, 24 Oct 2022 19:21:07 GMT, Magnus Ihse Bursie wrote: >> Properties files is essentially source code. It should have the same >> whitespace checks as all other source code, so we don't get spurious >> trailing whitespace changes. >> >> With the new Skara jcheck, it is possible to increas

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Magnus Ihse Bursie
On Mon, 24 Oct 2022 19:21:07 GMT, Magnus Ihse Bursie wrote: >> Properties files is essentially source code. It should have the same >> whitespace checks as all other source code, so we don't get spurious >> trailing whitespace changes. >> >> With the new Skara jcheck, it is possible to increas

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v2]

2022-10-24 Thread Magnus Ihse Bursie
On Mon, 24 Oct 2022 19:20:24 GMT, Andy Goryachev wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Remove check for .properties from jcheck >> - Restore trailing whitespace for property values > > 368 files

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v3]

2022-10-24 Thread Magnus Ihse Bursie
On Mon, 24 Oct 2022 19:21:07 GMT, Magnus Ihse Bursie wrote: >> Properties files is essentially source code. It should have the same >> whitespace checks as all other source code, so we don't get spurious >> trailing whitespace changes. >> >> With the new Skara jcheck, it is possible to increas

Re: RFR: 8295729: Add jcheck whitespace checking for properties files [v2]

2022-10-24 Thread Andy Goryachev
On Fri, 21 Oct 2022 08:17:46 GMT, Magnus Ihse Bursie wrote: >> Properties files is essentially source code. It should have the same >> whitespace checks as all other source code, so we don't get spurious >> trailing whitespace changes. >> >> With the new Skara jcheck, it is possible to increas

Re: RFR: 8295729: Remove trailing whitespace from non-value lines in properties files [v3]

2022-10-24 Thread Magnus Ihse Bursie
> Properties files is essentially source code. It should have the same > whitespace checks as all other source code, so we don't get spurious trailing > whitespace changes. > > With the new Skara jcheck, it is possible to increase the coverage of the > whitespace checks (in the old mercurial ve

RFR: 8284842: Update Unicode Data Files to Version 15.0.0

2022-10-24 Thread Naoto Sato
Updates the JDK to use the latest Unicode 15, which also updates the ICU4J along with it (8284844: Update ICU4J to Version 72.1). The corresponding CSR has already been approved. - Commit messages: - 8284842: Update Unicode Data Files to Version 15.0.0 Changes: https://git.openjdk

Re: RFR: 8294989: ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java [v12]

2022-10-24 Thread Naoto Sato
On Mon, 24 Oct 2022 16:37:56 GMT, Justin Lu wrote: >> Issue: Resource bundle name does not follow proper naming conventions >> according to [getBundle >> method](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/ResourceBundle.html#getBundle(java.lang.String,java.util.Local

Re: RFR: 8294989: ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java [v12]

2022-10-24 Thread Lance Andersen
On Mon, 24 Oct 2022 16:37:56 GMT, Justin Lu wrote: >> Issue: Resource bundle name does not follow proper naming conventions >> according to [getBundle >> method](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/ResourceBundle.html#getBundle(java.lang.String,java.util.Local

Re: RFR: 8294989: ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java [v12]

2022-10-24 Thread Lance Andersen
On Mon, 24 Oct 2022 17:54:20 GMT, Brent Christian wrote: >> Justin Lu has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use data provider for getBundle test > > test/jdk/javax/sql/resourceBundleTests/ValidateGetBundle.java line 81: > >> 7

Re: RFR: 8294989: ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java [v12]

2022-10-24 Thread Brent Christian
On Mon, 24 Oct 2022 16:37:56 GMT, Justin Lu wrote: >> Issue: Resource bundle name does not follow proper naming conventions >> according to [getBundle >> method](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/ResourceBundle.html#getBundle(java.lang.String,java.util.Local

Re: RFR: 8294989: ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java [v12]

2022-10-24 Thread Justin Lu
> Issue: Resource bundle name does not follow proper naming conventions > according to [getBundle > method](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/ResourceBundle.html#getBundle(java.lang.String,java.util.Locale,java.lang.Module)) > for base name parameter > > Fix

Integrated: 8284840: Update CLDR to Version 42.0

2022-10-24 Thread Naoto Sato
On Fri, 21 Oct 2022 16:55:28 GMT, Naoto Sato wrote: > This is to update the CLDR data from version 41 to version 42. The vast > majority of the changes are basically replacing the CLDR data, along with > tools/testcase alignments to those upstream changes: > > https://unicode-org.atlassian.net

Re: RFR: 8295823: Use enhanced-for cycle instead of Enumeration in java.naming

2022-10-24 Thread Daniel Fuchs
On Thu, 20 Oct 2022 20:28:37 GMT, Andrey Turbanov wrote: > `java.util.Enumeration` is a legacy interface from java 1.0. > There are couple of cycles which use it to iterate over collections. We can > replace this manual cycle with enchanced-for, which is shorter and easier to > read. LGTM ---

Re: RFR: 8295823: Use enhanced-for cycle instead of Enumeration in java.naming

2022-10-24 Thread Aleksei Efimov
On Thu, 20 Oct 2022 20:28:37 GMT, Andrey Turbanov wrote: > `java.util.Enumeration` is a legacy interface from java 1.0. > There are couple of cycles which use it to iterate over collections. We can > replace this manual cycle with enchanced-for, which is shorter and easier to > read. Hi Andrey

RFR: 8295823: Use enhanced-for cycle instead of Enumeration in java.naming

2022-10-24 Thread Andrey Turbanov
`java.util.Enumeration` is a legacy interface from java 1.0. There are couple of cycles which use it to iterate over collections. We can replace this manual cycle with enchanced-for, which is shorter and easier to read. - Commit messages: - [PATCH] Use enhanced-for cycle instead of