Re: RFR(s): 8228580: DnsClient TCP socket timeout

2019-09-23 Thread Pavel Rappo
Milan, I'm observing the latest version (.04) of this test failing quite frequently (4/100) on Windows (Windows Server 2012 R2 6.3 (amd64)) machines. The test passes fine on macOS and Linux. Here's the typical output I see in the logs: java.lang.RuntimeException: Query took 4997 ms. .

Re: RFR (L, final): 8218626: Add detailed message to NullPointerException describing what is null.

2019-09-23 Thread Roger Riggs
Hi Goetz, A bit of wordsmithing on the javadoc of NullPointerException.getMessage and separating out the implementation specific description to an @implNote 75:  /** * Returns the detail message string of this throwable. * * If a non-null message was supplied in a constructor

Re: RFR 8231314: java.time serialization warning cleanup

2019-09-23 Thread Roger Riggs
Hi, Updated to  wrap long lines and remove unneeded @SuppressWarnings. http://cr.openjdk.java.net/~rriggs/webrev-warn-serializable-8231314-2/ On 9/23/19 4:44 AM, Peter Levart wrote: Once more, for the list (sorry)... Hi, On 9/21/19 12:31 PM, Chris Hegarty wrote: Roger, On 20 Sep 2019, at

Re: RFR (L, final): 8218626: Add detailed message to NullPointerException describing what is null.

2019-09-23 Thread forax
- Mail original - > De: "Goetz Lindenmaier" > À: "Remi Forax" > Cc: "hotspot-runtime-dev" , > "core-libs-dev" > Envoyé: Lundi 23 Septembre 2019 12:03:30 > Objet: RE: RFR (L, final): 8218626: Add detailed message to > NullPointerException describing what is null. > Hi Remi, Hi Goetz,

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

2019-09-23 Thread Peter Levart
Hi Joe, I've been thinking of this example:   83 final class Ser implements Externalizable {   84 ...   99 /** The object being serialized. */  100 @SuppressWarnings("serial") // Not statically typed as Serializable  101 private Object object; Externalizable does extend

RE: RFR (L, final): 8218626: Add detailed message to NullPointerException describing what is null.

2019-09-23 Thread Lindenmaier, Goetz
Hi Remi, what do you think about dealing with the problem like this: http://cr.openjdk.java.net/~goetz/wr19/8218628-exMsg-NPE/18-obfuscation/ It's at the cost of one 64-bit field per bytecode in the analysis data. Also, if there is a real assignment to a parameter it's not named 'parameteri'

Re: RFR 8221623 : Add StackWalker micro benchmarks to jdk repo

2019-09-23 Thread Daniel Fuchs
Hi Brent, On 19/09/2019 20:08, Brent Christian wrote: Well-spotted. JMH defaults to using 1 worker thread, but can be configured to use more.  I tried with '-t max' (8 threads on my machine), and the benchmark NPE'd, as you predicted. I've updated the benchmark to use a separate handler

Re: RFR: 8231186: Replace html tag foo with javadoc tag {@code foo} in java.base

2019-09-23 Thread Julia Boes
Hi Brent, I was able to generate a webrev without any missing sdiffs (using gawk instead of awk with webrev.ksh) and made the requested changes below. src/java.base/share/classes/java/util/ResourceBundle.java I believe the tag spanning L2801-2 can be changed: 2801  * Special

Re: RFR: 8231186: Replace html tag foo with javadoc tag {@code foo} in java.base

2019-09-23 Thread Brent Christian
Looks good. -B On 9/23/19 11:17 AM, Julia Boes wrote: Hi Brent, I was able to generate a webrev without any missing sdiffs (using gawk instead of awk with webrev.ksh) and made the requested changes below. src/java.base/share/classes/java/util/ResourceBundle.java I believe the tag

Re: RFR: jsr166 integration 2019-09

2019-09-23 Thread Martin Buchholz
We now have a fix-up integration that removes all the previously excluded tests from their exclude lists. https://cr.openjdk.java.net/~martin/webrevs/jdk/jsr166-integration/overview.html 8231031: runtime/ReservedStack/ReservedStackTest.java fails after jsr166 refresh

Re: RFR: 8231186: Replace html tag foo with javadoc tag {@code foo} in java.base

2019-09-23 Thread Lance Andersen
Hi Julia, I made a quick pass and the changes seem OK > On Sep 23, 2019, at 2:17 PM, Julia Boes wrote: > > Hi Brent, > > I was able to generate a webrev without any missing sdiffs (using gawk > instead of awk with webrev.ksh) and made the requested changes below. > >>>

[14] RFR: 8230531: API Doc for CharsetEncoder.maxBytesPerChar() should be clearer about BOMs

2019-09-23 Thread naoto . sato
Hello, Please review the fix to the following issue: https://bugs.openjdk.java.net/browse/JDK-8230531 Relevant CSR (in draft) and proposed changeset are located at: [CSR]: https://bugs.openjdk.java.net/browse/JDK-8231319 [changeset]: https://cr.openjdk.java.net/~naoto/8230531/webrev.00/ The

Re: RFR: JDK-8231279: Change install location for copyright file for Debian package

2019-09-23 Thread Alexey Semenyuk
On 9/23/2019 6:05 PM, Alexander Matveev wrote: Hi Alexey, http://cr.openjdk.java.net/~asemenyuk/8231279/webrev.01/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebBundler.java.frames.html Maybe add new line between 41-42 and remove 43 to align import static with other static

Re: RFR: JDK-8231279: Change install location for copyright file for Debian package

2019-09-23 Thread Alexander Matveev
Hi Alexey, http://cr.openjdk.java.net/~asemenyuk/8231279/webrev.01/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebBundler.java.frames.html Maybe add new line between 41-42 and remove 43 to align import static with other static imports. Looks fine. Thanks, Alexander On

Re: RFR 8221623 : Add StackWalker micro benchmarks to jdk repo

2019-09-23 Thread Brent Christian
On 9/23/19 2:15 AM, Daniel Fuchs wrote: >> ... since logging is no longer using Throwable to examine the call stack, maybe it makes more sense to move the logging benchmarks to their own file under: test/micro/org/openjdk/bench/java/util/logging/ > Well, I'll let you decide on that. That

Re: RFR 8221623 : Add StackWalker micro benchmarks to jdk repo

2019-09-23 Thread Mandy Chung
On 9/19/19 12:08 PM, Brent Christian wrote: Hi, Daniel http://cr.openjdk.java.net/~bchristi/8221623/webrev09-loggerPerThread/ I think doing the measurement for one of these would be adequate. StackWalkBench.forEach_AllOpts StackWalkBench.forEach_DefaultOpts

Re: [14] RFR: 8230531: API Doc for CharsetEncoder.maxBytesPerChar() should be clearer about BOMs

2019-09-23 Thread Martin Buchholz
LGTM On Mon, Sep 23, 2019 at 1:48 PM wrote: > Hello, > > Please review the fix to the following issue: > > https://bugs.openjdk.java.net/browse/JDK-8230531 > > Relevant CSR (in draft) and proposed changeset are located at: > > [CSR]: https://bugs.openjdk.java.net/browse/JDK-8231319 >

RFR: JDK-8231282: Revisit --linux-deb-copyright option

2019-09-23 Thread Alexey Semenyuk
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). This fix: - remove --linux-deb-copyright option. - add tests to verify that placing copyright template in custom resource dir provides the same

Re: RFR: JDK-8231282: Revisit --linux-deb-copyright option

2019-09-23 Thread Alexander Matveev
Looks good. On 9/23/2019 4:55 PM, Alexey Semenyuk 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). This fix: - remove --linux-deb-copyright option. - add tests to verify that placing

Re: RFR: jsr166 integration 2019-09

2019-09-23 Thread David Holmes
Hi Martin, That all seems fine to me. Thanks, David On 24/09/2019 3:43 am, Martin Buchholz wrote: We now have a fix-up integration that removes all the previously excluded tests from their exclude lists. https://cr.openjdk.java.net/~martin/webrevs/jdk/jsr166-integration/overview.html

RE: [RFR] 8231171: remove remaining sun.java.launcher.pid references - was RE: sun.java.launcher.pid property usage

2019-09-23 Thread Baesken, Matthias
Thanks for the review ! Alan, may I add you as reviewer too ? Best regards, Matthias > -Original Message- > From: David Holmes > Sent: Freitag, 20. September 2019 11:41 > To: Baesken, Matthias ; 'hotspot- > d...@openjdk.java.net' ; core-libs- > d...@openjdk.java.net > Cc: Alan Bateman

Re: RFR 8231314: java.time serialization warning cleanup

2019-09-23 Thread Peter Levart
Once more, for the list (sorry)... Hi, On 9/21/19 12:31 PM, Chris Hegarty wrote: Roger, On 20 Sep 2019, at 19:51, Roger Riggs wrote: Please review code cleanup that will remove the need to suppress soon to be introduced warnings [1] about static typing of serialization related fields. A

Re: RFR(s): 8228580: DnsClient TCP socket timeout

2019-09-23 Thread Milan Mimica
Got it. Thanks Pavel! On Mon, 23 Sep 2019 at 13:37, Pavel Rappo wrote: > > Milan, > > How do you check which tests are run? That's what I see in the > /test-support/jtreg_open_test_jdk_com_sun_jndi_dns_ConfigTests_TcpTimeout_java/com/sun/jndi/dns/ConfigTests/TcpTimeout.jtr > file after I have

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

2019-09-23 Thread Roger Riggs
Hi Peter, Good observation. Adding transient would negate on of the conditions for warning, so no warning. And there would be no need to look at the static types more closely. If the Ser proxy were for a non-serializable type that would be a good option. I think there's a different problem

Re: RFR: JDK-8231279: Change install location for copyright file for Debian package

2019-09-23 Thread Andy Herrick
looks good. /Andy On 9/23/2019 7:49 AM, Alexey Semenyuk 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). Baseline for the fix is [3] patch. [1]

Re: [RFR] 8231171: remove remaining sun.java.launcher.pid references - was RE: sun.java.launcher.pid property usage

2019-09-23 Thread Alan Bateman
On 23/09/2019 08:06, Baesken, Matthias wrote: Thanks for the review ! Alan, may I add you as reviewer too ? Yes, okay with me too. -Alan

Re: RFR(s): 8228580: DnsClient TCP socket timeout

2019-09-23 Thread Pavel Rappo
Milan, How do you check which tests are run? That's what I see in the /test-support/jtreg_open_test_jdk_com_sun_jndi_dns_ConfigTests_TcpTimeout_java/com/sun/jndi/dns/ConfigTests/TcpTimeout.jtr file after I have run the test locally on my machine: --messages:(5/233)-- command:

RFR: JDK-8231279: Change install location for copyright file for Debian package

2019-09-23 Thread Alexey Semenyuk
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). Baseline for the fix is [3] patch. [1] https://bugs.openjdk.java.net/browse/JDK-8231279 [2] http://cr.openjdk.java.net/~asemenyuk/8231279/webrev.01/

Re: RFR: JDK-8225249: LinuxDebBundler and LinuxRpmBundler should share more

2019-09-23 Thread Andy Herrick
This looks good far as I can tell. /Andy On 9/18/2019 11:23 AM, Alexey Semenyuk 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). This fix: - Move common deb and rpm packaging code in the

Re: RFR: JDK-8230651: Use version string from main module

2019-09-23 Thread Andy Herrick
Looks good. /Andy On 9/20/2019 5:54 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). - Version from main module (if exist) will be used as --app-version if