Re: RFR: 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call

2019-10-09 Thread Mandy Chung
On 10/9/19 9:24 AM, Anton Kozlov wrote: Updated webrev with fixes: http://cr.openjdk.java.net/~akozlov/8231584/webrev.03/ I like this version.  Some minor comments: 2014 static synchronized void initLibraryPaths() { This does not need synchronized since it's still during phase 1 before

RFR: JDK-8232042: [macos] Installation fails if application name contains spaces

2019-10-09 Thread Alexander Matveev
Please review the jpackage fix for bug [1] at [2]. This is a fix for the JDK-8200758-branch branch of the open sandbox repository (jpackage). - Patch is based on JDK-8231856 fix. - Fixed by using URI to escape URLs. URLEncoder.encode() encodes form data and it will use "+" for space. pkg

Re: JDK 14 RFR of JDK-8232076: Suppress warnings on non-serializable non-transient instance fields java.naming

2019-10-09 Thread Lance Andersen
Looks OK Joe > On Oct 9, 2019, at 6:37 PM, Joe Darcy wrote: > > Hello, > > The serialization review continues, this time a few fields in the java.naming > module: > > http://cr.openjdk.java.net/~darcy/8232076.0/ > > Patch below; thanks, > > -Joe > > --- >

[14] RFR: 8225435: Upgrade IANA Language Subtag Registry to the latest for JDK14

2019-10-09 Thread naoto . sato
Hi, Please review the fix to the following issue: https://bugs.openjdk.java.net/browse/JDK-8225435 The proposed changeset is located at: https://cr.openjdk.java.net/~naoto/8225435/webrev.00/ The change is to upgrade the data file to the latest (dated 2019-09-16). A relevant test case is

[14] RFR: 8231273: Upgrade CLDR to v36

2019-10-09 Thread naoto . sato
Hi, Please review the fix to the following issue: https://bugs.openjdk.java.net/browse/JDK-8231273 The proposed changeset is located at: https://cr.openjdk.java.net/~naoto/8231273/webrev.00/ The webrev is huge, but majority of the changes is just to replace the CLDR source locale data from

JDK 14 RFR of JDK-8232076: Suppress warnings on non-serializable non-transient instance fields java.naming

2019-10-09 Thread Joe Darcy
Hello, The serialization review continues, this time a few fields in the java.naming module:     http://cr.openjdk.java.net/~darcy/8232076.0/ Patch below; thanks, -Joe --- old/src/java.naming/share/classes/com/sun/jndi/toolkit/ctx/Continuation.java 2019-10-09 15:32:45.25800 -0700 +++

Re: [14] RFR 8212749: DecimalFormat.setGroupingSize(int) allows setting negative grouping size, 8231984: Clarify semantics of DecimalFormat.getGroupingSize(0)

2019-10-09 Thread naoto . sato
I revised the fix, incorporating the clarification of the value zero as the grouping size, which has separate JIRA issue and CSR as follows: https://bugs.openjdk.java.net/browse/JDK-8231984 https://bugs.openjdk.java.net/browse/JDK-8232012 The merged changeset is as follows:

Re: JDK 14 RFR of JDK-8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes

2019-10-09 Thread Roger Riggs
Looks fine. Roger On 10/9/19 1:10 PM, Joe Darcy wrote: Thanks for the reviews. Running some final checks, I'd also like to include two more @SuppressWarnings to clear the issues in java.base outside of java.util.concurrent; patch below. Thanks, -Joe diff -r 6e017b301287

Re: JDK 14 RFR of JDK-8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes

2019-10-09 Thread Joe Darcy
Thanks for the reviews. Running some final checks, I'd also like to include two more @SuppressWarnings to clear the issues in java.base outside of java.util.concurrent; patch below. Thanks, -Joe diff -r 6e017b301287

Re: How to use "resource-dir" option for jpackage?

2019-10-09 Thread Andy Herrick
On 10/9/2019 10:58 AM, Andrey Volkov wrote: Hello. Can you give a hint or en example how to use --resource-dir option for jpackage? According to the help, it is possible to override jpackage's resources (icons, logos, etc. that are shown in installers). Is it right? generally yes, if the

How to use "resource-dir" option for jpackage?

2019-10-09 Thread Andrey Volkov
Hello. Can you give a hint or en example how to use --resource-dir option for jpackage? According to the help, it is possible to override jpackage's resources (icons, logos, etc. that are shown in installers). Is it right? -- Best regards, Andrey Volkov

Re: RFR: 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call

2019-10-09 Thread Anton Kozlov
Hi Mandy, thanks for the review! Updated webrev with fixes: http://cr.openjdk.java.net/~akozlov/8231584/webrev.03/ Few notes below: On 08.10.2019 01:20, Mandy Chung wrote: > I think another way doing it is to initialize ClassLoader.sys_paths and > usr_paths fields at System::initPhase1. These

Re: RFR: JDK-8226585: Improve javac messages for using a preview API

2019-10-09 Thread Erik Joelsson
Oh, you are absolutely correct, the dependency is missing. We need something like this inside "define SetupInterimModule": $$(BUILD_$1.interim): $(COPY_PREVIEW_FEATURES) /Erik On 2019-10-09 01:42, Magnus Ihse Bursie wrote: I can’t see how the compilation is dependent on the copy being

Re: RFR: JDK-8231858: [macos] App does not run if installed with pkg

2019-10-09 Thread Andy Herrick
looks good. /Andy On 10/8/2019 10:24 PM, Alexander Matveev wrote: Please review the jpackage fix for bug [1] at [2]. This is a fix for the JDK-8200758-branch branch of the open sandbox repository (jpackage). - Fixed by adding read permissions to all jars during installation. [1]

Re: JDK 14 RFR of JDK-8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes

2019-10-09 Thread Roger Riggs
+1 On 10/9/19 7:56 AM, Chris Hegarty wrote: Joe, On 05/10/2019 04:04, Joe Darcy wrote: Hello, Please review the revised fix: http://cr.openjdk.java.net/~darcy/8231202.1/ Given the prior discussion in this thread, then I think this version looks fine ( which consists solely of

Re: JDK 14 RFR of JDK-8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes

2019-10-09 Thread Chris Hegarty
Joe, On 05/10/2019 04:04, Joe Darcy wrote: Hello, Please review the revised fix:     http://cr.openjdk.java.net/~darcy/8231202.1/ Given the prior discussion in this thread, then I think this version looks fine ( which consists solely of warning suppressions ). -Chris.

Re: RFR: JDK-8231770 - Test java/util/zip/FlaterTest.java fails with -Xcheck:jni

2019-10-09 Thread Chris Hegarty
On 08/10/2019 17:17, Kiran Ravikumar wrote: Hi Guys, I am a new hire with the Oracle Java Platform Group and will be working mainly on JDK Update releases. Below is my first contribution. Looking forward to contribute more to the community. Please review the fix: Bug

Re: RFR: JDK-8226585: Improve javac messages for using a preview API

2019-10-09 Thread Magnus Ihse Bursie
I can’t see how the compilation is dependent on the copy being finished. Since Erik contributed this it will probably be correct :) but I’d appreciate an explanation on how this dependency is guaranteed. Or maybe I’m misunderstanding what this is supposed to do? /Magnus > 8 okt. 2019 kl.

Re: RFR: JDK-8229871: Improve performance of Method.copy() and leafCopy()

2019-10-09 Thread Peter Levart
On 10/8/19 8:37 PM, Claes Redestad wrote: On 2019-10-08 18:57, Kazunori Ogata wrote: Hi Claes, Thank you for your review and comment. I was also wondering why only these two fields aren't initialized in the constructor.  Shall I also make the change you mentioned? I think it might be

Re: RFR: JDK-8229871: Improve performance of Method.copy() and leafCopy()

2019-10-09 Thread Peter Levart
Hi Ogata, May I just add that volatile field ensured that MethodAccessor object was correctly published. DelegatingMethodAccessortImpl is not safe to be published via data race because it contains plain `delegate` field initialized in the constructor. In addition, the object that is first

Re: RFR: JDK-8231770 - Test java/util/zip/FlaterTest.java fails with -Xcheck:jni

2019-10-09 Thread Seán Coffey
Looks good Kiran. I'll sponsor this for you. regards, Sean. On 08/10/2019 17:17, Kiran Ravikumar wrote: Hi Guys, I am a new hire with the Oracle Java Platform Group and will be working mainly on JDK Update releases. Below is my first contribution. Looking forward to contribute more to the