Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v12]

2025-08-01 Thread Jaikiran Pai
On Fri, 1 Aug 2025 13:24:36 GMT, David Beaumont wrote: > "is completed" is a non-directory type, "getLocation() failing" is a > non-resource type. If getLocation() by default throws a `IllegalStateException` stating that the `Node` is not a resource type, then I think it would be more accurate

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v12]

2025-08-01 Thread Jaikiran Pai
On Mon, 21 Jul 2025 11:41:21 GMT, David Beaumont wrote: >> src/java.base/share/classes/jdk/internal/jimage/ImageReader.java line 543: >> >>> 541: // As such, non-directory nodes are always complete. >>> 542: boolean isCompleted() { >>> 543: return true; >> >> Seems l

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v16]

2025-08-01 Thread Jaikiran Pai
On Wed, 30 Jul 2025 10:39:22 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v16]

2025-07-31 Thread Jaikiran Pai
On Wed, 30 Jul 2025 10:39:22 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v15]

2025-07-31 Thread Jaikiran Pai
On Tue, 29 Jul 2025 17:56:00 GMT, David Beaumont wrote: >> test/jdk/jdk/internal/jimage/JImageReadTest.java line 350: >> >>> 348: try (ImageReader badReader = ImageReader.open(imageFile, >>> otherOrder)) { >>> 349: Assert.fail("Reader should not be openable with the wrong >

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v16]

2025-07-31 Thread Jaikiran Pai
On Thu, 31 Jul 2025 13:03:40 GMT, Alan Bateman wrote: > The jimage code is still compiled --release 8 Good point, Alan. I keep forgetting that, even when it's noted in the very file that I commented on. - PR Review Comment: https://git.openjdk.org/jdk/pull/26054#discussion_r224546

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v16]

2025-07-31 Thread Jaikiran Pai
On Wed, 30 Jul 2025 10:39:22 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v16]

2025-07-31 Thread Jaikiran Pai
On Wed, 30 Jul 2025 10:39:22 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v16]

2025-07-31 Thread Jaikiran Pai
On Wed, 30 Jul 2025 10:39:22 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v16]

2025-07-31 Thread Jaikiran Pai
On Wed, 30 Jul 2025 10:39:22 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v16]

2025-07-31 Thread Jaikiran Pai
On Wed, 30 Jul 2025 10:39:22 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8361950: Update to use jtreg 8

2025-07-30 Thread Jaikiran Pai
On Fri, 11 Jul 2025 09:05:40 GMT, Christian Stein wrote: > Please review the change to update to using jtreg 8. > > The primary change is to the `jib-profiles.js` file, which specifies the > version of jtreg to use, for those systems that rely on this file. In > addition, the requiredVersion h

Re: Reuse the StringUTF16::putCharsSB method instead of the Intrinsic in the StringUTF16::toBytes

2025-07-30 Thread jaikiran . pai
I'll let others knowledgeable in this area to comment and provide inputs to this proposal. I just want to say thank you for bringing up this discussion to the mailing list first, providing the necessary context and explanation and seeking feedback, before creating a JBS issue or a RFR PR. -Ja

Re: RFR: 8364007: Add overload without arguments to codePointCount in String etc. [v3]

2025-07-26 Thread Jaikiran Pai
On Sat, 26 Jul 2025 10:20:20 GMT, Tatsunori Uchino wrote: >> Tatsunori Uchino has updated the pull request incrementally with four >> additional commits since the last revision: >> >> - Update `@bug` in correct file >> - Add default implementation on codePointCount in CharSequence >> - Updat

Re: [jdk25] RFR: 8362882: Update SubmissionPublisher() specification to reflect use of ForkJoinPool.asyncCommonPool()

2025-07-25 Thread Jaikiran Pai
On Fri, 25 Jul 2025 08:20:05 GMT, Alan Bateman wrote: > Backport of docs only change. The CSR is already approved for JDK 25. Marked as reviewed by jpai (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/26474#pullrequestreview-3054833211

Re: RFR: 8362882: Update SubmissionPublisher() specification to reflect use of ForkJoinPool.asyncCommonPool()

2025-07-23 Thread Jaikiran Pai
On Tue, 22 Jul 2025 13:13:41 GMT, Alan Bateman wrote: > The changes in JDK-8319447 to improve the performance of delayed task > handling updated CompletableFuture and SubmissionPublisher to use the > ForkJoinPool commonPool in all cases. These APIs previously created a Thread > for each task w

Re: ClassLoader Leak via Executors.newSingleThreadExecutor(...)

2025-07-22 Thread Jaikiran Pai
Hello Chris, In the past the OCA verification has sometimes taken more than a week or two, so please wait a few more days for the verification to be completed. -Jaikiran On 23/07/25 4:30 am, Chris Dennis wrote: Is there a process I can (or should?) be following to get my PR for fixing this t

Re: RFR: 8361587: AssertionError in File.listFiles() when path is empty and -esa is enabled [v8]

2025-07-19 Thread Jaikiran Pai
On Tue, 15 Jul 2025 17:36:22 GMT, Brian Burkhalter wrote: >> Changes to address `File.listFiles` invoked on an empty path. This fixes an >> oversight in #22821. > > Brian Burkhalter has updated the pull request incrementally with one > additional commit since the last revision: > > 8361587:

Re: RFR: 8357380: java/lang/StringBuilder/RacingSBThreads.java times out with C1

2025-07-18 Thread Jaikiran Pai
On Fri, 18 Jul 2025 15:06:33 GMT, Roger Riggs wrote: > Reduced number of iterations from 10 million to 1 million to reduce cpu time Looks good and trivial to me. - Marked as reviewed by jpai (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/26389#pullrequestreview-3033958779

Re: RFR: 8361950: Update to use jtreg 8

2025-07-17 Thread Jaikiran Pai
On Fri, 11 Jul 2025 09:05:40 GMT, Christian Stein wrote: > Please review the change to update to using jtreg 8. > > The primary change is to the `jib-profiles.js` file, which specifies the > version of jtreg to use, for those systems that rely on this file. In > addition, the requiredVersion h

Re: RFR: 8357708: com.sun.jndi.ldap.Connection ignores queued LDAP replies if Connection is subsequently closed [v3]

2025-07-16 Thread Jaikiran Pai
er1, tier2 and tier3 tests continue to pass with this change. I've marked > the fix version of this issue for 26 and I don't plan to push this for 25. Jaikiran Pai has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the

Re: RFR: 8361587: AssertionError in File.listFiles() when path is empty and -esa is enabled [v8]

2025-07-16 Thread Jaikiran Pai
On Tue, 15 Jul 2025 17:36:22 GMT, Brian Burkhalter wrote: >> Changes to address `File.listFiles` invoked on an empty path. This fixes an >> oversight in #22821. > > Brian Burkhalter has updated the pull request incrementally with one > additional commit since the last revision: > > 8361587:

Re: RFR: 8358627: tools/sincechecker/modules/java.base/JavaBaseCheckSince.java fails with JDK 26

2025-07-07 Thread Jaikiran Pai
On Tue, 17 Jun 2025 15:22:24 GMT, Nizar Benalla wrote: > Once https://bugs.openjdk.org/browse/JDK-8358769 is resolved, > JavaBaseCheckSince no longer needs to be problemlisted. Hello Nizar, if I understand correctly, this problem listing can be removed and the PR integrated once the merge conf

Re: RFR: 8351354: Enhance java -XshowSettings:security:tls to show enabled TLS groups and signature algorithms

2025-07-07 Thread Jaikiran Pai
On Thu, 3 Apr 2025 18:47:43 GMT, Matthew Donovan wrote: > In this PR I added TLS groups and signature algorithms to the output of the > show settings flag. The values are printed in a single column, like the > cipher suites. There can be a lot of values so putting on a single line is > ugly. I

Re: RFR: 8361426: (ref) Remove jdk.internal.ref.Cleaner

2025-07-07 Thread Jaikiran Pai
On Sat, 5 Jul 2025 00:05:39 GMT, Kim Barrett wrote: > Please review this change that removes the class jdk.internal.ref.Cleaner. > It is no longer used after JDK-8344332. > > Testing: mach5 tier1-3 This looks OK to me and matches with what was discussed about this in a recent PR https://github

Re: RFR: 8346884: Add since checker test to jdk.editpad

2025-07-07 Thread Jaikiran Pai
On Tue, 3 Jun 2025 10:09:44 GMT, Nizar Benalla wrote: > Please review this patch to add a new test to check `@since` tags in the > `jdk.editpad` module. > > TIA This looks OK to me. - Marked as reviewed by jpai (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/25613#pullre

Re: RFR: 8342868: Errors related to unused code on Windows after 8339120 in core libs [v2]

2025-07-07 Thread Jaikiran Pai
On Thu, 31 Oct 2024 05:43:11 GMT, Julian Waters wrote: >> After 8339120, gcc began catching many different instances of unused code in >> the Windows specific codebase. Some of these seem to be bugs. I've taken the >> effort to mark out all the relevant globals and locals that trigger the >> u

Re: RFR: 8357272: Add overrides for all default methods to wrapper collections

2025-07-07 Thread Jaikiran Pai
On Mon, 7 Jul 2025 12:58:39 GMT, Jaikiran Pai wrote: >> This mostly just adds overrides to the wrapper implementations in >> java.util.Collections. However, in order to satisfy the test, some overrides >> are also added to ReverseOrderSortedMapView, which is used by the Sor

Re: RFR: 8357272: Add overrides for all default methods to wrapper collections

2025-07-07 Thread Jaikiran Pai
On Wed, 28 May 2025 03:03:45 GMT, Stuart Marks wrote: > This mostly just adds overrides to the wrapper implementations in > java.util.Collections. However, in order to satisfy the test, some overrides > are also added to ReverseOrderSortedMapView, which is used by the SortedMap > wrapper keySe

Re: RFR: 8357272: Add overrides for all default methods to wrapper collections

2025-07-07 Thread Jaikiran Pai
On Wed, 28 May 2025 03:03:45 GMT, Stuart Marks wrote: > This mostly just adds overrides to the wrapper implementations in > java.util.Collections. However, in order to satisfy the test, some overrides > are also added to ReverseOrderSortedMapView, which is used by the SortedMap > wrapper keySe

Re: RFR: 8357272: Add overrides for all default methods to wrapper collections

2025-07-07 Thread Jaikiran Pai
On Wed, 28 May 2025 03:03:45 GMT, Stuart Marks wrote: > This mostly just adds overrides to the wrapper implementations in > java.util.Collections. However, in order to satisfy the test, some overrides > are also added to ReverseOrderSortedMapView, which is used by the SortedMap > wrapper keySe

Re: RFR: 8357272: Add overrides for all default methods to wrapper collections

2025-07-07 Thread Jaikiran Pai
On Wed, 28 May 2025 03:03:45 GMT, Stuart Marks wrote: > This mostly just adds overrides to the wrapper implementations in > java.util.Collections. However, in order to satisfy the test, some overrides > are also added to ReverseOrderSortedMapView, which is used by the SortedMap > wrapper keySe

Re: RFR: 8357272: Add overrides for all default methods to wrapper collections

2025-07-07 Thread Jaikiran Pai
On Wed, 28 May 2025 03:03:45 GMT, Stuart Marks wrote: > This mostly just adds overrides to the wrapper implementations in > java.util.Collections. However, in order to satisfy the test, some overrides > are also added to ReverseOrderSortedMapView, which is used by the SortedMap > wrapper keySe

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup [v4]

2025-07-03 Thread Jaikiran Pai
On Thu, 3 Jul 2025 14:23:00 GMT, Roger Riggs wrote: >> src/java.base/share/classes/java/lang/Process.java line 113: >> >>> 111: * releasing the operating system resources. >>> 112: * {@code Try-with-resources} can be used to open and close the >>> streams. >>> 113: * For example, to capture

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup [v4]

2025-07-03 Thread Jaikiran Pai
On Wed, 2 Jul 2025 14:52:06 GMT, Roger Riggs wrote: >> Improve the documentation of Process use of system resources. >> >> Describe the implementation closing streams when no longer referenced. >> Clarify the interactions between inputStream and inputReader and errorStream >> and errorReader. >

Re: RFR: 8361018: Re-examine buffering and encoding conversion in BufferedWriter [v6]

2025-07-03 Thread Jaikiran Pai
On Tue, 1 Jul 2025 00:01:21 GMT, Shaojin Wen wrote: >> BufferedWriter -> OutputStreamWriter -> StreamEncoder >> >> In this call chain, BufferedWriter has a char[] buffer, and StreamEncoder >> has a ByteBuffer. There are two layers of cache here, or the BufferedWriter >> layer can be removed. A

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup [v3]

2025-07-02 Thread Jaikiran Pai
On Wed, 2 Jul 2025 14:46:20 GMT, Roger Riggs wrote: > But including both links makes the sentence hard to read, so I picked the > more expressive reader method to link to. It didn't realize you had intentionally used the `CharSet` one. If you think the CharSet would provide better guidance to

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup [v4]

2025-07-02 Thread Jaikiran Pai
On Wed, 2 Jul 2025 14:49:01 GMT, Roger Riggs wrote: >> Improve the documentation of Process use of system resources. >> >> Describe the implementation closing streams when no longer referenced. >> Clarify the interactions between inputStream and inputReader and errorStream >> and errorReader. >

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup [v3]

2025-07-02 Thread Jaikiran Pai
On Tue, 1 Jul 2025 22:30:57 GMT, Roger Riggs wrote: >> Improve the documentation of Process use of system resources. >> >> Describe the implementation closing streams when no longer referenced. >> Clarify the interactions between inputStream and inputReader and errorStream >> and errorReader. >

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup [v3]

2025-07-02 Thread Jaikiran Pai
On Tue, 1 Jul 2025 22:30:57 GMT, Roger Riggs wrote: >> Improve the documentation of Process use of system resources. >> >> Describe the implementation closing streams when no longer referenced. >> Clarify the interactions between inputStream and inputReader and errorStream >> and errorReader. >

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup [v3]

2025-07-02 Thread Jaikiran Pai
On Tue, 1 Jul 2025 22:30:57 GMT, Roger Riggs wrote: >> Improve the documentation of Process use of system resources. >> >> Describe the implementation closing streams when no longer referenced. >> Clarify the interactions between inputStream and inputReader and errorStream >> and errorReader. >

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup [v3]

2025-07-02 Thread Jaikiran Pai
On Tue, 1 Jul 2025 22:30:57 GMT, Roger Riggs wrote: >> Improve the documentation of Process use of system resources. >> >> Describe the implementation closing streams when no longer referenced. >> Clarify the interactions between inputStream and inputReader and errorStream >> and errorReader. >

Re: [jdk25] RFR: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

2025-07-01 Thread Jaikiran Pai
On Tue, 1 Jul 2025 11:48:30 GMT, Jaikiran Pai wrote: > Can I please get a review of this backport of a test-only fix? > > This backports the fix for https://bugs.openjdk.org/browse/JDK-8359337 into > JDK 25. The original fix was integrated into mainline a few minutes b

[jdk25] Integrated: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

2025-07-01 Thread Jaikiran Pai
On Tue, 1 Jul 2025 11:48:30 GMT, Jaikiran Pai wrote: > Can I please get a review of this backport of a test-only fix? > > This backports the fix for https://bugs.openjdk.org/browse/JDK-8359337 into > JDK 25. The original fix was integrated into mainline a few minutes b

Re: RFR: 8334015: Add Support for UUID Version 7 (UUIDv7) defined in RFC 9562 [v10]

2025-07-01 Thread Jaikiran Pai
On Mon, 30 Jun 2025 18:19:30 GMT, Kieran Farrell wrote: >> With the recent approval of UUIDv7 >> (https://datatracker.ietf.org/doc/rfc9562/), this PR aims to add a new >> static method UUID.timestampUUID() which constructs and returns a UUID in >> support of the new time generated UUID version

Re: RFR: 8334015: Add Support for UUID Version 7 (UUIDv7) defined in RFC 9562 [v10]

2025-07-01 Thread Jaikiran Pai
On Mon, 30 Jun 2025 18:19:30 GMT, Kieran Farrell wrote: >> With the recent approval of UUIDv7 >> (https://datatracker.ietf.org/doc/rfc9562/), this PR aims to add a new >> static method UUID.timestampUUID() which constructs and returns a UUID in >> support of the new time generated UUID version

Re: RFR: 8334015: Add Support for UUID Version 7 (UUIDv7) defined in RFC 9562 [v10]

2025-07-01 Thread Jaikiran Pai
On Tue, 1 Jul 2025 14:48:50 GMT, Roger Riggs wrote: >> src/java.base/share/classes/java/util/UUID.java line 107: >> >>> 105: >>> 106: private static long monotonicMS() { >>> 107: return ORIGIN_MS + (System.nanoTime() - ORIGIN_NS) / 1_000_000; >> >> Hello Kieran, the `System.nanoTim

Re: RFR: 8334015: Add Support for UUID Version 7 (UUIDv7) defined in RFC 9562 [v10]

2025-07-01 Thread Jaikiran Pai
On Mon, 30 Jun 2025 18:19:30 GMT, Kieran Farrell wrote: >> With the recent approval of UUIDv7 >> (https://datatracker.ietf.org/doc/rfc9562/), this PR aims to add a new >> static method UUID.timestampUUID() which constructs and returns a UUID in >> support of the new time generated UUID version

Re: [jdk25] RFR: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

2025-07-01 Thread Jaikiran Pai
On Tue, 1 Jul 2025 14:26:44 GMT, Jaikiran Pai wrote: > So the same JVM will never run more than one test concurrently. Just for my own peace of mind I looked up the jtreg FAQ to be sure it specifies this behaviour. The FAQ here says https://openjdk.org/jtreg/faq.html#how-do-i-specify-whet

Re: [jdk25] RFR: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

2025-07-01 Thread Jaikiran Pai
On Tue, 1 Jul 2025 14:13:08 GMT, Daniel Fuchs wrote: > This seems OK without /othervm as long as tests are not run concurrently in > the same VM. jtreg guarantees that a agentvm is only used for one single action. So the same JVM will never run more than one test concurrently. -

[jdk25] RFR: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

2025-07-01 Thread Jaikiran Pai
Can I please get a review of this backport of a test-only fix? This backports the fix for https://bugs.openjdk.org/browse/JDK-8359337 into JDK 25. The original fix was integrated into mainline a few minutes back https://github.com/openjdk/jdk/pull/26052. Backporting this fix should help preven

Integrated: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

2025-07-01 Thread Jaikiran Pai
On Mon, 30 Jun 2025 16:18:00 GMT, Jaikiran Pai wrote: > Can I please get a review of this test-only change which addresses the issue > noted in https://bugs.openjdk.org/browse/JDK-8359337? > > On macOS, the JDK by default (without any explicit system properties) picks > up the

Re: RFR: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected [v2]

2025-07-01 Thread Jaikiran Pai
On Mon, 30 Jun 2025 16:52:55 GMT, Jaikiran Pai wrote: >> Can I please get a review of this test-only change which addresses the issue >> noted in https://bugs.openjdk.org/browse/JDK-8359337? >> >> On macOS, the JDK by default (without any explicit system properties

Re: RFR: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

2025-06-30 Thread Jaikiran Pai
On Mon, 30 Jun 2025 16:18:00 GMT, Jaikiran Pai wrote: > Can I please get a review of this test-only change which addresses the issue > noted in https://bugs.openjdk.org/browse/JDK-8359337? > > On macOS, the JDK by default (without any explicit system properties) picks > up the

Re: RFR: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected [v2]

2025-06-30 Thread Jaikiran Pai
ges, these tests now pass on > the host where these tests were failing previously. Additionally I've run > tier2 to make sure nothing else is impacted due to this change. Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision: Jo

RFR: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

2025-06-30 Thread Jaikiran Pai
Can I please get a review of this test-only change which addresses the issue noted in https://bugs.openjdk.org/browse/JDK-8359337? On macOS, the JDK by default (without any explicit system properties) picks up the proxy settings configured on the host. These proxy settings then get used by the

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-30 Thread Jaikiran Pai
On Fri, 27 Jun 2025 14:55:10 GMT, Daniel Fuchs wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 525 commits: >> >> - merge latest changes from master branch >> - http3: run H3StreamLimitReachedTest.java wit

Re: RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output [v4]

2025-06-29 Thread Jaikiran Pai
On Mon, 30 Jun 2025 06:01:44 GMT, Jaikiran Pai wrote: >> Can I please get a review of this doc-only change which proposes to clarify >> the current implementation of the `java.util.Properties.list(...)` methods? >> >> As noted in https://bugs.openjdk.org/browse/

Re: RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output [v3]

2025-06-29 Thread Jaikiran Pai
On Sat, 28 Jun 2025 07:01:29 GMT, Alan Bateman wrote: >> Jaikiran Pai has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Andy's review suggestions > > src/java.base/share/classes/java/util/Pr

Re: RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output [v4]

2025-06-29 Thread Jaikiran Pai
7 when printing out the value. > This behaviour isn't documented by these methods. The change in this PR adds > an `@implNote` to make a mention of this current behaviour. Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8357708: com.sun.jndi.ldap.Connection ignores queued LDAP replies if Connection is subsequently closed [v2]

2025-06-29 Thread Jaikiran Pai
er1, tier2 and tier3 tests continue to pass with this change. I've marked > the fix version of this issue for 26 and I don't plan to push this for 25. Jaikiran Pai has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup

2025-06-27 Thread Jaikiran Pai
On Wed, 18 Jun 2025 20:16:18 GMT, Roger Riggs wrote: > Improve the documentation of Process use of system resources. > > Describe the implementation closing streams when no longer referenced. > Clarify the interactions between inputStream and inputReader and errorStream > and errorReader. > Add

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup

2025-06-27 Thread Jaikiran Pai
On Wed, 18 Jun 2025 20:16:18 GMT, Roger Riggs wrote: > Improve the documentation of Process use of system resources. > > Describe the implementation closing streams when no longer referenced. > Clarify the interactions between inputStream and inputReader and errorStream > and errorReader. > Add

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup

2025-06-27 Thread Jaikiran Pai
On Fri, 27 Jun 2025 16:12:53 GMT, Jaikiran Pai wrote: >> src/java.base/share/classes/java/lang/Process.java line 202: >> >>> 200: * >>> 201: * @apiNote >>> 202: * Avoid using both {@link #getInputStream} and {@link >>> #inputReader

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup

2025-06-27 Thread Jaikiran Pai
On Fri, 27 Jun 2025 16:09:02 GMT, Jaikiran Pai wrote: >> Improve the documentation of Process use of system resources. >> >> Describe the implementation closing streams when no longer referenced. >> Clarify the interactions between inputStream and inputReader and errorSt

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup

2025-06-27 Thread Jaikiran Pai
On Wed, 18 Jun 2025 20:16:18 GMT, Roger Riggs wrote: > Improve the documentation of Process use of system resources. > > Describe the implementation closing streams when no longer referenced. > Clarify the interactions between inputStream and inputReader and errorStream > and errorReader. > Add

Re: RFR: 8354872: Clarify java.lang.Process resource cleanup

2025-06-27 Thread Jaikiran Pai
On Wed, 18 Jun 2025 20:16:18 GMT, Roger Riggs wrote: > Improve the documentation of Process use of system resources. > > Describe the implementation closing streams when no longer referenced. > Clarify the interactions between inputStream and inputReader and errorStream > and errorReader. > Add

Re: RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output [v2]

2025-06-27 Thread Jaikiran Pai
On Fri, 27 Jun 2025 14:33:30 GMT, Andy Goryachev wrote: >> Jaikiran Pai has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Alan's review - limit the details in implNote > > src/java.base/share/classes/

Re: RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output [v3]

2025-06-27 Thread Jaikiran Pai
7 when printing out the value. > This behaviour isn't documented by these methods. The change in this PR adds > an `@implNote` to make a mention of this current behaviour. Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output

2025-06-27 Thread Jaikiran Pai
On Fri, 27 Jun 2025 13:41:11 GMT, Alan Bateman wrote: > Are you sure you want to describe the format, even in an implNote? Although > the string representation probably hasn't changed in 25+ years, it's not > something that anything should become dependent on. I wasn't too sure how much detail

Re: RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output [v2]

2025-06-27 Thread Jaikiran Pai
7 when printing out the value. > This behaviour isn't documented by these methods. The change in this PR adds > an `@implNote` to make a mention of this current behaviour. Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8342868: Errors related to unused code on Windows after 8339120 in core libs [v2]

2025-06-27 Thread Jaikiran Pai
On Wed, 23 Apr 2025 06:16:14 GMT, Julian Waters wrote: >> Julian Waters has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Remove the got local > > Stay open Hello @TheShermanTanker, I see that this PR is marked as ready for integration s

RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output

2025-06-27 Thread Jaikiran Pai
Can I please get a review of this doc-only change which proposes to clarify the current implementation of the `java.util.Properties.list(...)` methods? As noted in https://bugs.openjdk.org/browse/JDK-8360575, the current implementation trims each value to a size of 37 when printing out the value

[jdk25] Integrated: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-26 Thread Jaikiran Pai
On Thu, 26 Jun 2025 13:43:27 GMT, Jaikiran Pai wrote: > Can I please get a review of this backport to JDK 25? This backports > https://bugs.openjdk.org/browse/JDK-8359830 which was integrated into > mainline a few minutes back https://github.com/openjdk/jdk/pull/25865. > > With

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-26 Thread Jaikiran Pai
On Tue, 24 Jun 2025 13:10:41 GMT, Jaikiran Pai wrote: > The few places where this misreporting of macOS version in os_bsd.cpp is > going to impact is the VM error reporting (in hs_err files for example) and > the output of the newly introduced -XX:+PrintJVMInfoAtExit option. So I th

Re: [jdk25] RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-26 Thread Jaikiran Pai
On Thu, 26 Jun 2025 13:43:27 GMT, Jaikiran Pai wrote: > Can I please get a review of this backport to JDK 25? This backports > https://bugs.openjdk.org/browse/JDK-8359830 which was integrated into > mainline a few minutes back https://github.com/openjdk/jdk/pull/25865. > > With

[jdk25] RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-26 Thread Jaikiran Pai
Can I please get a review of this backport to JDK 25? This backports https://bugs.openjdk.org/browse/JDK-8359830 which was integrated into mainline a few minutes back https://github.com/openjdk/jdk/pull/25865. With this change it should now be possible to test JDK 25 on macOS 26 when it gets re

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta) [v2]

2025-06-26 Thread Jaikiran Pai
On Wed, 25 Jun 2025 10:20:15 GMT, Jaikiran Pai wrote: >> Can I please get a review of this change which proposes to address the issue >> noted in https://bugs.openjdk.org/browse/JDK-8359830? >> >> macOS operating system's newer version 26 (currently in Beta) is

Integrated: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-26 Thread Jaikiran Pai
On Wed, 18 Jun 2025 06:01:43 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to address the issue > noted in https://bugs.openjdk.org/browse/JDK-8359830? > > macOS operating system's newer version 26 (currently in Beta) is reported as

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v8]

2025-06-26 Thread Jaikiran Pai
On Tue, 22 Apr 2025 16:15:29 GMT, Artur Barashev wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 506 commits: >> >> - merge latest changes from master branch >> - http3: update H3InsertionsLimitTest to sta

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta) [v2]

2025-06-25 Thread Jaikiran Pai
On Wed, 25 Jun 2025 10:20:15 GMT, Jaikiran Pai wrote: >> Can I please get a review of this change which proposes to address the issue >> noted in https://bugs.openjdk.org/browse/JDK-8359830? >> >> macOS operating system's newer version 26 (currently in Beta) is

Re: RFR: 8359174: tools/jlink/JLink20000Packages.java timed out [v2]

2025-06-25 Thread Jaikiran Pai
On Thu, 26 Jun 2025 01:48:33 GMT, Henry Jen wrote: >> Create a jar directly from the memory instead of real file, this should >> reduce the I/O overhead which likely the reason for the time out. >> The issue is not reproducible locally, and fails intermittently, so we >> simply trying to reduce

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v7]

2025-06-25 Thread Jaikiran Pai
On Wed, 25 Jun 2025 19:48:47 GMT, Artur Barashev wrote: >> Hello Artur, we currently don't expose the `HandshakeContext` outside of the >> `QuicTLSEngineImpl`. The `HandshakeContext` is what is needed to get the >> relevant user specified algorithm constraints. So I decided to let the >> `Hand

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-25 Thread Jaikiran Pai
On Wed, 18 Jun 2025 06:01:43 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to address the issue > noted in https://bugs.openjdk.org/browse/JDK-8359830? > > macOS operating system's newer version 26 (currently in Beta) is reported as

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v2]

2025-06-25 Thread Jaikiran Pai
On Fri, 25 Apr 2025 19:13:14 GMT, Artur Barashev wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 409 commits: >> >> - merge latest changes from master branch >> - http3: add missing separator to Http3Disc

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta) [v2]

2025-06-25 Thread Jaikiran Pai
njdk.org/browse/JDK-8253702. > > The existing `OsVersionTest` has been updated for some trivial clean up. > Existing tests in tier1, tier2 and tier3 continue to pass with this change. > If anyone has access to a macOS 26 Beta, I request them to build this change > and run `tier1`

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-25 Thread Jaikiran Pai
On Tue, 24 Jun 2025 13:10:41 GMT, Jaikiran Pai wrote: > Do you think it's OK to go ahead with this integration? I spoke to Alan about this and Alan says it's OK to do the `os_bsd.cpp` changes as a separate task. Alan also suggested that the long lines introduced in this PR could

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v7]

2025-06-25 Thread Jaikiran Pai
On Tue, 10 Jun 2025 22:21:31 GMT, Artur Barashev wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 499 commits: >> >> - merge latest changes from master branch >> - http3: improve H3ConnectionPoolTest.java >

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v7]

2025-06-25 Thread Jaikiran Pai
On Tue, 10 Jun 2025 22:16:18 GMT, Artur Barashev wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 499 commits: >> >> - merge latest changes from master branch >> - http3: improve H3ConnectionPoolTest.java >

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v8]

2025-06-25 Thread Jaikiran Pai
On Tue, 22 Apr 2025 16:39:21 GMT, Artur Barashev wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 506 commits: >> >> - merge latest changes from master branch >> - http3: update H3InsertionsLimitTest to sta

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-24 Thread Jaikiran Pai
On Tue, 24 Jun 2025 13:10:41 GMT, Jaikiran Pai wrote: > I've been experimenting with using these Objective-C APIs in this C++ code > of hotspot, but have been running into build issues. I am currently > discussing those with people familiar with this area and plan to continue

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-23 Thread Jaikiran Pai
On Wed, 18 Jun 2025 06:01:43 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to address the issue > noted in https://bugs.openjdk.org/browse/JDK-8359830? > > macOS operating system's newer version 26 (currently in Beta) is reported as

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-23 Thread Jaikiran Pai
On Wed, 18 Jun 2025 16:42:16 GMT, Kevin Rushforth wrote: >> Can I please get a review of this change which proposes to address the issue >> noted in https://bugs.openjdk.org/browse/JDK-8359830? >> >> macOS operating system's newer version 26 (currently in Beta) is reported as >> a 16 by older

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-23 Thread Jaikiran Pai
On Mon, 23 Jun 2025 08:07:21 GMT, Jaikiran Pai wrote: > I think we are missing a test for this which might explain why tier1, tier2, > tier3 testing of this current change didn't notice that this area too needs a > change. It looks like an existing test `test/hotspot

Re: RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-18 Thread Jaikiran Pai
On Wed, 18 Jun 2025 06:01:43 GMT, Jaikiran Pai wrote: > Existing tests in tier1, tier2 and tier3 continue to pass with this change. > If anyone has access to a macOS 26 Beta, I request them to build this change > and run tier1 tests to help verify that there aren't any failures.

RFR: 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)

2025-06-17 Thread Jaikiran Pai
Can I please get a review of this change which proposes to address the issue noted in https://bugs.openjdk.org/browse/JDK-8359830? macOS operating system's newer version 26 (currently in Beta) is reported as a 16 by older versions of XCode. JDK internally uses the `NSProcessInfo` and `NSOperati

Re: RFR: 8358729: jdk/internal/loader/URLClassPath/ClassnameCharTest.java depends on Applet [v7]

2025-06-17 Thread Jaikiran Pai
On Tue, 17 Jun 2025 21:47:49 GMT, Justin Lu wrote: >> Please review this PR which finishes Applet removal for the test: >> jdk/internal/loader/URLClassPath/ClassnameCharTest.java. >> >> `testclasses.jar` is updated such that the two classes no longer extend >> Applet. >> >> >> $ javap fo\ o.

Re: RFR: 8358729: jdk/internal/loader/URLClassPath/ClassnameCharTest.java depends on Applet [v4]

2025-06-12 Thread Jaikiran Pai
On Thu, 12 Jun 2025 18:05:04 GMT, Justin Lu wrote: >> Please review this PR which finishes Applet removal for the test: >> jdk/internal/loader/URLClassPath/ClassnameCharTest.java. >> >> `testclasses.jar` is updated such that the two classes no longer extend >> Applet. >> >> >> $ javap fo\ o.

Re: RFR: 8358729: jdk/internal/loader/URLClassPath/ClassnameCharTest.java depends on Applet [v2]

2025-06-12 Thread Jaikiran Pai
On Wed, 11 Jun 2025 22:40:43 GMT, Justin Lu wrote: >> Please review this PR which finishes Applet removal for the test: >> jdk/internal/loader/URLClassPath/ClassnameCharTest.java. >> >> `testclasses.jar` is updated such that the two classes no longer extend >> Applet. >> >> >> $ javap fo\ o.

Re: RFR: 8358729: jdk/internal/loader/URLClassPath/ClassnameCharTest.java depends on Applet [v2]

2025-06-12 Thread Jaikiran Pai
On Wed, 11 Jun 2025 22:40:43 GMT, Justin Lu wrote: >> Please review this PR which finishes Applet removal for the test: >> jdk/internal/loader/URLClassPath/ClassnameCharTest.java. >> >> `testclasses.jar` is updated such that the two classes no longer extend >> Applet. >> >> >> $ javap fo\ o.

  1   2   3   4   5   6   7   8   9   10   >