Re: RFR: 8293806: JDK_JAVA_OPTIONS picked up twice if launcher re-executes it self

2022-10-05 Thread David Holmes
On Mon, 26 Sep 2022 18:15:17 GMT, Dmitry Samersoff wrote: > If the user has set LD_LIBRARY_PATH to use a particular libjvm.so, options > from the JDK_JAVA_OPTIONS environment variable are picked up twice. > > If an option cannot be accepted twice (e.g., -agentlib), the application > fails to

Re: RFR: 8289552: Make intrinsic conversions between bit representations of half precision values and floats [v11]

2022-10-05 Thread Smita Kamath
On Tue, 4 Oct 2022 09:07:42 GMT, Quan Anh Mai wrote: >>> You can use `kmovwl` instead which will relax the avx512bw constraint, >>> however, you will need avx512vl for `evcvtps2ph`. Thanks. >> >> Yes, in general all AVX512VL targets support AVX512BW, but cloud instances >> give freedom to enab

Re: RFR: 8289552: Make intrinsic conversions between bit representations of half precision values and floats [v13]

2022-10-05 Thread Smita Kamath
> 8289552: Make intrinsic conversions between bit representations of half > precision values and floats Smita Kamath has updated the pull request incrementally with one additional commit since the last revision: Updated instruct to use kmovw - Changes: - all: https://git.openj

Re: RFR: 8170389: java.text.DigitList.getDouble() : Controversy between javadoc and code [v3]

2022-10-05 Thread Joe Darcy
On Wed, 5 Oct 2022 21:26:09 GMT, Justin Lu wrote: >> Problem: Outdated doc does not match code. Claimed to throw exception and >> compared to Long method. >> Fix: Update doc to match code, compared to Double.parseDouble() accordingly. > > Justin Lu has updated the pull request incrementally with

Re: RFR: 8294697: java/lang/Thread/virtual/ThreadAPI.testGetStackTrace2 failed with non-empty stack trace

2022-10-05 Thread Jaikiran Pai
On Wed, 5 Oct 2022 14:05:38 GMT, Alan Bateman wrote: > This is a test-only change. ThreadAPI.testGetStackTrace2 tests the stack > trace of a virtual thread that has started but has not executed it. The test > currently attempts to saturate all carrier threads before starting a target > thread.

RFR: 8289561: java/lang/instrument/NativeMethodPrefixAgent.java fails with "ERROR: Injection failure: java.lang.UnsupportedOperationException: Records requires ASM8"

2022-10-05 Thread Alex Menkov
Test failure is a duplicate of [JDK-8284777](https://bugs.openjdk.org/browse/JDK-8284777), but the test needs to be updated: - the test instruments all loaded classes, so need to updated ASM version to support records and permits; Instrumentor.addNativeMethodTrackingInjection is used only by t

Re: Collections.shuffle to accept RandomGenerator

2022-10-05 Thread John Rose
On 3 Oct 2022, at 14:32, Stuart Marks wrote: > … > The Arrays class does need some attention and probably should be considered > separately. It's lacking some other things too, like reverse(). One issue > with modifying the Arrays class is providing overloads for some or all of the > primitives

Integrated: 8290036: Define and specify Runtime shutdown sequence

2022-10-05 Thread Stuart Marks
On Fri, 8 Jul 2022 23:00:15 GMT, Stuart Marks wrote: > The concept of the shutdown sequence needs to be specified more clearly. This > PR adds text for this into the class specification of `java.lang.Runtime`. > Also includes adjustments to related areas in `addShutdownHook`, `halt`, and > in

Re: RFR: 8290036: Define and specify Runtime shutdown sequence [v10]

2022-10-05 Thread Stuart Marks
On Wed, 5 Oct 2022 03:34:47 GMT, Stuart Marks wrote: >> The concept of the shutdown sequence needs to be specified more clearly. >> This PR adds text for this into the class specification of >> `java.lang.Runtime`. Also includes adjustments to related areas in >> `addShutdownHook`, `halt`, and

Re: Sequenced Collections

2022-10-05 Thread Ernie Rael
On 10/5/22 9:34 AM, Stuart Marks wrote: On 10/4/22 9:38 PM, Ernie Rael wrote: Summary of key points (maybe the mail was TL;DR) OK thanks, I was still mulling over the previous email wondering which parts were significant enough to reply to.   * SequencedCollection methods addFirst,addLas

Re: RFR: JDK-8289509 : Improve test coverage for XPath Axes: descendant, descendant-or-self, following, following-sibling

2022-10-05 Thread Joe Wang
On Wed, 5 Oct 2022 17:28:08 GMT, Bill Huang wrote: >> Added test cases for xpath Axis: >> 1. descendant >> 2. descendant-or-self >> 3. following >> 4. following-sibling > > test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpDescendantTest.java line 65: > >> 63: >> {"/Customers/Cust

Re: RFR: JDK-8289509 : Improve test coverage for XPath Axes: descendant, descendant-or-self, following, following-sibling

2022-10-05 Thread Joe Wang
On Tue, 4 Oct 2022 13:01:40 GMT, Mahendra Chhipa wrote: > Added test cases for xpath Axis: > 1. descendant > 2. descendant-or-self > 3. following > 4. following-sibling test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpDescendantTest.java line 41: > 39: /* > 40: * @test > 41: * @bug 8289510 s/

Re: RFR: 8170389: java.text.DigitList.getDouble() : Controversy between javadoc and code [v3]

2022-10-05 Thread Justin Lu
> Problem: Outdated doc does not match code. Claimed to throw exception and > compared to Long method. > Fix: Update doc to match code, compared to Double.parseDouble() accordingly. Justin Lu has updated the pull request incrementally with one additional commit since the last revision: Update

Re: RFR: 8170389: java.text.DigitList.getDouble() : Controversy between javadoc and code [v2]

2022-10-05 Thread Justin Lu
On Wed, 5 Oct 2022 20:57:12 GMT, Lance Andersen wrote: >> Justin Lu has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update doc code > > src/java.base/share/classes/java/text/DigitList.java line 198: > >> 196: >> 197: /** >> 198:

Re: RFR: 8170389: java.text.DigitList.getDouble() : Controversy between javadoc and code [v2]

2022-10-05 Thread Lance Andersen
On Wed, 5 Oct 2022 20:49:52 GMT, Justin Lu wrote: >> Problem: Outdated doc does not match code. Claimed to throw exception and >> compared to Long method. >> Fix: Update doc to match code, compared to Double.parseDouble() accordingly. > > Justin Lu has updated the pull request incrementally with

Re: RFR: 8170389: java.text.DigitList.getDouble() : Controversy between javadoc and code [v2]

2022-10-05 Thread Justin Lu
> Problem: Outdated doc does not match code. Claimed to throw exception and > compared to Long method. > Fix: Update doc to match code, compared to Double.parseDouble() accordingly. Justin Lu has updated the pull request incrementally with one additional commit since the last revision: Update

Re: RFR: 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system

2022-10-05 Thread Serguei Spitsyn
On Tue, 4 Oct 2022 17:59:36 GMT, Alan Bateman wrote: > This is a test only change for two tests for virtual threads that > hang/timeout on single core systems. The two tests involve pinning and > require at least two carrier threads. The test lib used by these tests is > updated to define a ne

Re: RFR: 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system

2022-10-05 Thread Chris Plummer
On Wed, 5 Oct 2022 19:58:24 GMT, Alan Bateman wrote: >> It's not a matter of whether or not the test needs to restore it. It _will_ >> restore it if there is a GC, and if this happens before the test completes, >> it could find itself without enough carrier threads. > > No, restoration requires

Re: RFR: 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system

2022-10-05 Thread Alan Bateman
On Wed, 5 Oct 2022 19:44:44 GMT, Chris Plummer wrote: >> This test doesn't need to restore it so it doesn't keep a reference and not >> an issue if it is GC'ed. > > It's not a matter of whether or not the test needs to restore it. It _will_ > restore it if there is a GC, and if this happens bef

Re: RFR: 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system

2022-10-05 Thread Chris Plummer
On Wed, 5 Oct 2022 19:30:46 GMT, Alan Bateman wrote: >> test/jdk/java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java line >> 30: >> >>> 28: * platform and virtual threads in deadlock >>> 29: * @enablePreview >>> 30: * @modules java.base/java.lang:+open java.management >> >> Can

Re: RFR: 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system

2022-10-05 Thread Alan Bateman
On Wed, 5 Oct 2022 19:02:04 GMT, Chris Plummer wrote: >> This is a test only change for two tests for virtual threads that >> hang/timeout on single core systems. The two tests involve pinning and >> require at least two carrier threads. The test lib used by these tests is >> updated to define

Re: RFR: 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system

2022-10-05 Thread Chris Plummer
On Tue, 4 Oct 2022 17:59:36 GMT, Alan Bateman wrote: > This is a test only change for two tests for virtual threads that > hang/timeout on single core systems. The two tests involve pinning and > require at least two carrier threads. The test lib used by these tests is > updated to define a ne

Integrated: 8294397: Replace StringBuffer with StringBuilder within java.text

2022-10-05 Thread Justin Lu
On Wed, 28 Sep 2022 22:54:33 GMT, Justin Lu wrote: > Problem: Unnecessary instances of StringBuffer within java.text (internal > only) > > Fix: StringBuffer Replaced with StringBuilder, and adjusted variable/method > names This pull request has now been integrated. Changeset: 87acfee3 Author

Re: RFR: 8293810: Remove granting of RuntimePermission("stopThread") from tests

2022-10-05 Thread Mandy Chung
On Wed, 5 Oct 2022 15:01:15 GMT, Alan Bateman wrote: > This is a test only change to remove the granting of > RuntimePermission("stopThread") from the tests. With Thread.stop changed to > throw UOE it means there is nothing that requires this permission. LGTM - Marked as reviewed

Re: RFR: 8170389: java.text.DigitList.getDouble() : Controversy between javadoc and code

2022-10-05 Thread Naoto Sato
On Tue, 4 Oct 2022 23:11:57 GMT, Justin Lu wrote: > Problem: Outdated doc does not match code. Claimed to throw exception and > compared to Long method. > Fix: Update doc to match code, compared to Double.parseDouble() accordingly. Turned out that the comment was not aligning with the behavior

Re: RFR: JDK-8289509 : Improve test coverage for XPath Axes: descendant, descendant-or-self, following, following-sibling

2022-10-05 Thread Bill Huang
On Wed, 5 Oct 2022 18:09:53 GMT, Bill Huang wrote: >> Added test cases for xpath Axis: >> 1. descendant >> 2. descendant-or-self >> 3. following >> 4. following-sibling > > test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpFollowingTest.java line 108: > >> 106: }; >> 107: } >> 108: >

Re: RFR: JDK-8289509 : Improve test coverage for XPath Axes: descendant, descendant-or-self, following, following-sibling

2022-10-05 Thread Bill Huang
On Tue, 4 Oct 2022 13:01:40 GMT, Mahendra Chhipa wrote: > Added test cases for xpath Axis: > 1. descendant > 2. descendant-or-self > 3. following > 4. following-sibling test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpDescendantTest.java line 59: > 57: {"/Customers/Customer[@id='

Re: RFR: 8178355: IdentityHashMap uses identity-based comparison for values everywhere except remove(K,V) and replace(K,V,V) [v6]

2022-10-05 Thread Stuart Marks
On Wed, 5 Oct 2022 03:40:27 GMT, liach wrote: >> Explicitly implement `remove` and `replace` in `IdentityHashMap` to compare >> values by identity. Updated API documentation of these two methods >> ([Preview](https://cr.openjdk.java.net/~liach/8178355/IdentityHashMap.html#remove(java.lang.Objec

Re: RFR: JDK-8293701: jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present [v4]

2022-10-05 Thread Mandy Chung
On Wed, 5 Oct 2022 08:33:40 GMT, Alan Bateman wrote: >> Matthias Baesken has updated the pull request incrementally with one >> additional commit since the last revision: >> >> enhance test > > test/langtools/tools/jdeps/optionalDependency/OptionalDependencyTest.java > line 74: > >> 72:

Re: RFR: 8170389: java.text.DigitList.getDouble() : Controversy between javadoc and code

2022-10-05 Thread Naoto Sato
On Tue, 4 Oct 2022 23:11:57 GMT, Justin Lu wrote: > Problem: Outdated doc does not match code. Claimed to throw exception and > compared to Long method. > Fix: Update doc to match code, compared to Double.parseDouble() accordingly. Looks good to me. Since you are only modifying the comments, pl

Integrated: JDK-8294618: Update openjdk.java.net => openjdk.org

2022-10-05 Thread Joe Darcy
On Fri, 30 Sep 2022 00:33:57 GMT, Joe Darcy wrote: > With the domain change from openjdk.java.net to openjdk.org, references to > URLs in the sources should be updated. > > Updates were made using a shell script. I"ll run a copyright updater before > any push. This pull request has now been i

Re: RFR: 8291917: Windows - Improve error messages when the C Runtime Libraries or jvm.dll cannot be loaded [v13]

2022-10-05 Thread Julian Waters
> Please review a small patch for dumping the failure reason when the MSVCRT > libraries or the Java Virtual Machine fails to load on Windows, which can > provide invaluable insight when debugging related launcher issues. > > See https://bugs.openjdk.org/browse/JDK-8292016 and the related Pull R

Re: RFR: JDK-8294618: Update openjdk.java.net => openjdk.org [v9]

2022-10-05 Thread Joe Darcy
> With the domain change from openjdk.java.net to openjdk.org, references to > URLs in the sources should be updated. > > Updates were made using a shell script. I"ll run a copyright updater before > any push. Joe Darcy has updated the pull request with a new target base due to a merge or a re

Re: RFR: 8293810: Remove granting of RuntimePermission("stopThread") from tests

2022-10-05 Thread Sean Mullan
On Wed, 5 Oct 2022 15:01:15 GMT, Alan Bateman wrote: > This is a test only change to remove the granting of > RuntimePermission("stopThread") from the tests. With Thread.stop changed to > throw UOE it means there is nothing that requires this permission. Marked as reviewed by mullan (Reviewer)

Re: Sequenced Collections

2022-10-05 Thread Stuart Marks
On 10/4/22 9:38 PM, Ernie Rael wrote: Summary of key points (maybe the mail was TL;DR) OK thanks, I was still mulling over the previous email wondering which parts were significant enough to reply to.  * SequencedCollection methods addFirst,addLast are the only methods in    Collection

Re: RFR: 8293810: Remove granting of RuntimePermission("stopThread") from tests

2022-10-05 Thread Daniel Fuchs
On Wed, 5 Oct 2022 15:01:15 GMT, Alan Bateman wrote: > This is a test only change to remove the granting of > RuntimePermission("stopThread") from the tests. With Thread.stop changed to > throw UOE it means there is nothing that requires this permission. Changes to java.net and javax.managemen

Re: RFR: 8294697: java/lang/Thread/virtual/ThreadAPI.testGetStackTrace2 failed with non-empty stack trace

2022-10-05 Thread Daniel Fuchs
On Wed, 5 Oct 2022 14:05:38 GMT, Alan Bateman wrote: > This is a test-only change. ThreadAPI.testGetStackTrace2 tests the stack > trace of a virtual thread that has started but has not executed it. The test > currently attempts to saturate all carrier threads before starting a target > thread.

RFR: 8290368: Introduce LDAP and RMI protocol-specific object factory filters to JNDI implementation

2022-10-05 Thread Aleksei Efimov
### Summary of the change This change introduces new system and security properties for specifying factory filters for the JNDI/LDAP and the JNDI/RMI JDK provider implementations. These new properties allow more granular control over the set of object factories allowed to reconstruct Java obje

RFR: 8294697: java/lang/Thread/virtual/ThreadAPI.testGetStackTrace2 failed with non-empty stack trace

2022-10-05 Thread Alan Bateman
This is a test-only change. ThreadAPI.testGetStackTrace2 tests the stack trace of a virtual thread that has started but has not executed it. The test currently attempts to saturate all carrier threads before starting a target thread. The test is not reliable and failed at least once with a debug

RFR: 8293810: Remove granting of RuntimePermission("stopThread") from tests

2022-10-05 Thread Alan Bateman
This is a test only change to remove the granting of RuntimePermission("stopThread") from the tests. With Thread.stop changed to throw UOE it means there is nothing that requires this permission. - Commit messages: - Initial commit Changes: https://git.openjdk.org/jdk/pull/10577/f

Re: RFR: 8292698: Improve performance of DataInputStream [v4]

2022-10-05 Thread Сергей Цыпанов
On Mon, 29 Aug 2022 08:46:20 GMT, Сергей Цыпанов wrote: >> I found out that reading from `DataInputStream` wrapping >> `ByteArrayInputStream` (as well as `BufferedInputStream` or any >> `InputStream` relying on `byte[]`) can be significantly improved by >> accessing volatile `in` field only on

Re: RFR: 8294456: Fix misleading-indentation warnings in core JDK libraries [v3]

2022-10-05 Thread Aleksey Shipilev
On Wed, 5 Oct 2022 14:06:21 GMT, Raffaello Giulietti wrote: >> This fixes misleading indentations, which allows enabling the (currently >> disabled) `misleading-indentation` warning flag on two `.gmk` files. > > Raffaello Giulietti has updated the pull request incrementally with one > addition

Integrated: JDK-8294840: langtools OptionalDependencyTest.java use File.pathSeparator

2022-10-05 Thread Matthias Baesken
On Wed, 5 Oct 2022 11:01:35 GMT, Matthias Baesken wrote: > The test/langtools/tools/jdeps/optionalDependency/OptionalDependencyTest.java: > introduced with 8293701 needs to use File.pathSeparator instead of ":" to > work on all platforms. This pull request has now been integrated. Changeset: f

Re: RFR: JDK-8294837: unify Windows 2019 version check in os_windows and java_props_md

2022-10-05 Thread Roger Riggs
On Wed, 5 Oct 2022 09:21:50 GMT, Matthias Baesken wrote: > Currently the buildNumber check for Windows 2019 server differs in > os_windows.cpp and java_props_md.c ( java_props_md.c still checks pre GA > versions , this is probably not necessary any more ). > The check should be unified. LGTM

Re: RFR: 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni [v2]

2022-10-05 Thread Alexey Ivanov
On Mon, 26 Sep 2022 16:51:36 GMT, Michael Ernst wrote: >> 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni > > Michael Ernst has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains six commits: > > - Reinstate t

Re: RFR: JDK-8294837: unify Windows 2019 version check in os_windows and java_props_md

2022-10-05 Thread Alan Bateman
On Wed, 5 Oct 2022 09:21:50 GMT, Matthias Baesken wrote: > Currently the buildNumber check for Windows 2019 server differs in > os_windows.cpp and java_props_md.c ( java_props_md.c still checks pre GA > versions , this is probably not necessary any more ). > The check should be unified. Marked

Re: RFR: 8294456: Fix misleading-indentation warnings in core JDK libraries [v2]

2022-10-05 Thread Raffaello Giulietti
On Wed, 5 Oct 2022 10:02:49 GMT, Raffaello Giulietti wrote: >> This fixes misleading indentations, which allows enabling the (currently >> disabled) `misleading-indentation` warning flag on two `.gmk` files. > > Raffaello Giulietti has updated the pull request with a new target base due > to a

Re: RFR: 8294456: Fix misleading-indentation warnings in core JDK libraries [v3]

2022-10-05 Thread Raffaello Giulietti
> This fixes misleading indentations, which allows enabling the (currently > disabled) `misleading-indentation` warning flag on two `.gmk` files. Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision: 8294456: Fix misleading-indentat

Re: RFR: 8294456: Fix misleading-indentation warnings in JDK [v2]

2022-10-05 Thread Aleksey Shipilev
On Wed, 5 Oct 2022 13:46:23 GMT, Raffaello Giulietti wrote: >> I am not completely sure all `misleading-indentation` warnings are fixed in >> Awt2d, this would require some more testing. I'd defer that to #10453. > > Awt2dLibraries.gmk in https://github.com/openjdk/jdk/pull/10453 seems more >

Re: RFR: 8294456: Fix misleading-indentation warnings in JDK [v2]

2022-10-05 Thread Raffaello Giulietti
On Wed, 5 Oct 2022 12:07:13 GMT, Aleksey Shipilev wrote: >> What is the problem with Awt2d? Other conflicts? > > I am not completely sure all `misleading-indentation` warnings are fixed in > Awt2d, this would require some more testing. I'd defer that to #10453. Awt2dLibraries.gmk in https://git

Re: RFR: 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni [v2]

2022-10-05 Thread Alexey Ivanov
On Mon, 26 Sep 2022 16:51:36 GMT, Michael Ernst wrote: >> 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni > > Michael Ernst has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains six commits: > > - Reinstate t

Re: RFR: 8294456: Fix misleading-indentation warnings in JDK [v2]

2022-10-05 Thread Aleksey Shipilev
On Wed, 5 Oct 2022 12:01:00 GMT, Raffaello Giulietti wrote: >> make/modules/java.desktop/lib/Awt2dLibraries.gmk line 298: >> >>> 296: HEADERS_FROM_SRC := $(LIBLCMS_HEADERS_FROM_SRC), \ >>> 297: DISABLED_WARNINGS_gcc := format-nonliteral type-limits \ >>> 298: undef unused-functi

Re: RFR: 8294456: Fix misleading-indentation warnings in JDK [v2]

2022-10-05 Thread Raffaello Giulietti
On Wed, 5 Oct 2022 10:16:10 GMT, Aleksey Shipilev wrote: >> Raffaello Giulietti has updated the pull request with a new target base due >> to a merge or a rebase. The pull request now contains two commits: >> >> - 8294456: Fix misleading-indentation warnings in JDK >> >>Merge branch 'm

Re: RFR: 8291917: Windows - Improve error messages when the C Runtime Libraries or jvm.dll cannot be loaded [v11]

2022-10-05 Thread Julian Waters
On Wed, 5 Oct 2022 11:00:16 GMT, Julian Waters wrote: >> Please review a small patch for dumping the failure reason when the MSVCRT >> libraries or the Java Virtual Machine fails to load on Windows, which can >> provide invaluable insight when debugging related launcher issues. >> >> See https

Re: RFR: 8291917: Windows - Improve error messages when the C Runtime Libraries or jvm.dll cannot be loaded [v12]

2022-10-05 Thread Julian Waters
> Please review a small patch for dumping the failure reason when the MSVCRT > libraries or the Java Virtual Machine fails to load on Windows, which can > provide invaluable insight when debugging related launcher issues. > > See https://bugs.openjdk.org/browse/JDK-8292016 and the related Pull R

Re: RFR: 8291917: Windows - Improve error messages when the C Runtime Libraries or jvm.dll cannot be loaded [v11]

2022-10-05 Thread Julian Waters
> Please review a small patch for dumping the failure reason when the MSVCRT > libraries or the Java Virtual Machine fails to load on Windows, which can > provide invaluable insight when debugging related launcher issues. > > See https://bugs.openjdk.org/browse/JDK-8292016 and the related Pull R

Re: RFR: 8294456: Fix misleading-indentation warnings in JDK [v2]

2022-10-05 Thread Aleksey Shipilev
On Wed, 5 Oct 2022 10:02:49 GMT, Raffaello Giulietti wrote: >> This fixes misleading indentations, which allows enabling the (currently >> disabled) `misleading-indentation` warning flag on two `.gmk` files. > > Raffaello Giulietti has updated the pull request with a new target base due > to a

Re: RFR: 8294456: Fix misleading-indentation warnings in JDK [v2]

2022-10-05 Thread Raffaello Giulietti
On Wed, 5 Oct 2022 10:02:49 GMT, Raffaello Giulietti wrote: >> This fixes misleading indentations, which allows enabling the (currently >> disabled) `misleading-indentation` warning flag on two `.gmk` files. > > Raffaello Giulietti has updated the pull request with a new target base due > to a

Re: RFR: 8294456: Fix misleading-indentation warnings in JDK [v2]

2022-10-05 Thread Raffaello Giulietti
> This fixes misleading indentations, which allows enabling the (currently > disabled) `misleading-indentation` warning flag on two `.gmk` files. Raffaello Giulietti has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits: - 829

RFR: JDK-8294837: unify Windows 2019 version check in os_windows and java_props_md

2022-10-05 Thread Matthias Baesken
Currently the buildNumber check for Windows 2019 server differs in os_windows.cpp and java_props_md.c ( java_props_md.c still checks pre GA versions , this is probably not necessary any more ). The check should be unified. - Commit messages: - unify Win 2019 build number check in o

Re: RFR: JDK-8293701: jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present [v4]

2022-10-05 Thread Matthias Baesken
On Wed, 5 Oct 2022 08:33:40 GMT, Alan Bateman wrote: >> Matthias Baesken has updated the pull request incrementally with one >> additional commit since the last revision: >> >> enhance test > > test/langtools/tools/jdeps/optionalDependency/OptionalDependencyTest.java > line 74: > >> 72:

Re: RFR: JDK-8293701: jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present [v4]

2022-10-05 Thread Alan Bateman
On Tue, 4 Oct 2022 08:00:21 GMT, Matthias Baesken wrote: >> We noticed that with certain jar file input, jdeps runs into the following >> exception, this happens with jdk11, 17 and 20. >> >> jdeps.exe --multi-release 11 --module-path . --inverse --package >> com.sap.nw.performance.supa.client

RFR: 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system

2022-10-05 Thread Alan Bateman
This is a test only change for two tests for virtual threads that hang/timeout on single core systems. The two tests involve pinning and require at least two carrier threads. The test lib used by these tests is updated to define a new method that ensures parallelism is at least a given value and

Re: RFR: JDK-8294618: Update openjdk.java.net => openjdk.org [v8]

2022-10-05 Thread Magnus Ihse Bursie
On Mon, 3 Oct 2022 20:37:11 GMT, Joe Darcy wrote: >> With the domain change from openjdk.java.net to openjdk.org, references to >> URLs in the sources should be updated. >> >> Updates were made using a shell script. I"ll run a copyright updater before >> any push. > > Joe Darcy has updated the

Integrated: JDK-8293701: jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present

2022-10-05 Thread Matthias Baesken
On Fri, 16 Sep 2022 08:26:00 GMT, Matthias Baesken wrote: > We noticed that with certain jar file input, jdeps runs into the following > exception, this happens with jdk11, 17 and 20. > > jdeps.exe --multi-release 11 --module-path . --inverse --package > com.sap.nw.performance.supa.client test

Re: RFR: JDK-8293701: jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present [v4]

2022-10-05 Thread Alan Bateman
On Wed, 5 Oct 2022 07:24:56 GMT, Matthias Baesken wrote: > > Looks good. Thanks for fixing this. > > Thanks for the review ! Do I need a second review for those tools like in > hotspot ? One reviewer is okay here and Mandy is the expert on this tool. So I think you are good to go. --

Re: RFR: JDK-8293701: jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present [v4]

2022-10-05 Thread Matthias Baesken
On Tue, 4 Oct 2022 18:26:50 GMT, Mandy Chung wrote: > Looks good. Thanks for fixing this. Thanks for the review ! Do I need a second review for those tools like in hotspot ? - PR: https://git.openjdk.org/jdk/pull/10300