Integrated: 8358456: ZipFile.getInputStream(ZipEntry) throws unspecified IllegalArgumentException

2025-06-03 Thread Jaikiran Pai
On Tue, 3 Jun 2025 06:35:09 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in > https://bugs.openjdk.org/browse/JDK-8358456? > > In Java 24, through https://bugs.openjdk.org/browse/JDK-8341597 we did a > change which started using the "compr

Re: RFR: 8358456: ZipFile.getInputStream(ZipEntry) throws unspecified IllegalArgumentException

2025-06-03 Thread Jaikiran Pai
On Tue, 3 Jun 2025 06:35:09 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in > https://bugs.openjdk.org/browse/JDK-8358456? > > In Java 24, through https://bugs.openjdk.org/browse/JDK-8341597 we did a > change which started using the "compr

Re: RFR: 8358015: Fix SequencedMap sequenced view method specifications [v3]

2025-06-03 Thread Jaikiran Pai
On Wed, 4 Jun 2025 06:24:57 GMT, Stuart Marks wrote: >> For a full explanation, see the bug report >> [JDK-8358015](https://bugs.openjdk.org/browse/JDK-8358015). >> >> This PR includes three related changes: >> * New overrides in SequencedMap view collection implementations, which >> improve t

Re: RFR: 8358015: Fix SequencedMap sequenced view method specifications [v3]

2025-06-03 Thread Stuart Marks
> For a full explanation, see the bug report > [JDK-8358015](https://bugs.openjdk.org/browse/JDK-8358015). > > This PR includes three related changes: > * New overrides in SequencedMap view collection implementations, which > improve their behavior. > * Update to `@implSpec` clauses to reflect t

Re: RFR: 8357798: ReverseOrderListView uses Boolean boxes after JDK-8356080 [v2]

2025-06-03 Thread Aleksey Shipilev
On Mon, 2 Jun 2025 13:26:36 GMT, Aleksey Shipilev wrote: >> SonarCloud complains that since >> [JDK-8356080](https://bugs.openjdk.org/browse/JDK-8356080) we are using >> `Boolean` boxes in `ReverseOrderListView`. This change `boolean` -> >> `Boolean` was made in >> [JDK-8356080](https://bugs.

Re: RFR: 8356128: Correct documentation for --linux-package-deps [v4]

2025-06-03 Thread Stefan Lobbenmeier
On Tue, 27 May 2025 19:48:11 GMT, Stefan Lobbenmeier wrote: >> The documentation suggests that --linux-package-deps is a boolean option, >> while in fact it is a string option with dependencies separated by comma and >> space >> >> You can tell that this option is supposed to have an argument

Integrated: 8357798: ReverseOrderListView uses Boolean boxes after JDK-8356080

2025-06-03 Thread Aleksey Shipilev
On Mon, 26 May 2025 17:08:45 GMT, Aleksey Shipilev wrote: > SonarCloud complains that since > [JDK-8356080](https://bugs.openjdk.org/browse/JDK-8356080) we are using > `Boolean` boxes in `ReverseOrderListView`. This change `boolean` -> `Boolean` > was made in [JDK-8356080](https://bugs.openjdk

Re: RFR: 8358015: Fix SequencedMap sequenced view method specifications [v2]

2025-06-03 Thread Joe Darcy
On Tue, 3 Jun 2025 20:14:13 GMT, Stuart Marks wrote: >> src/java.base/share/classes/java/util/SequencedMap.java line 296: >> >>> 294: return view().hashCode(); >>> 295: } >>> 296: public void addFirst(K k) { throw new >>> UnsupportedOperationException();

Re: RFR: 8347491: IllegalArgumentationException thrown by ThreadPoolExecutor doesn't have a useful message [v5]

2025-06-03 Thread Chen Liang
On Tue, 20 May 2025 10:54:44 GMT, He-Pin(kerr) wrote: >> Motivation: >> When a user passes a wrong parameter, the current implementation throws an >> IllegalArgumentException with an error message `null`, which is not helpful. >> >> Modification: >> Add detail error messages. >> >> Result: >>

Re: RFR: 8347491: IllegalArgumentationException thrown by ThreadPoolExecutor doesn't have a useful message [v5]

2025-06-03 Thread duke
On Tue, 20 May 2025 10:54:44 GMT, He-Pin(kerr) wrote: >> Motivation: >> When a user passes a wrong parameter, the current implementation throws an >> IllegalArgumentException with an error message `null`, which is not helpful. >> >> Modification: >> Add detail error messages. >> >> Result: >>

Re: RFR: 8357913: Add `@Stable` to BigInteger and BigDecimal [v3]

2025-06-03 Thread Shaojin Wen
On Mon, 2 Jun 2025 18:23:25 GMT, Per Minborg wrote: >> Shaojin Wen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> BigInteger::mag remove Stable > > A general comment with respect to `@Stable` is that it asserts the > field/elements wil

Re: RFR: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException [v2]

2025-06-03 Thread Naoto Sato
On Tue, 3 Jun 2025 16:59:18 GMT, Naoto Sato wrote: >> Fixing a regression caused by the fix to JDK-8356985. Although the fix in >> `CharsetTest` was a clean-up and not the gist of the original issue, the >> change seem to have caused not finding `SkippedException` at runtime in >> certain case

Integrated: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException

2025-06-03 Thread Naoto Sato
On Mon, 2 Jun 2025 21:48:04 GMT, Naoto Sato wrote: > Fixing a regression caused by the fix to JDK-8356985. Although the fix in > `CharsetTest` was a clean-up and not the gist of the original issue, the > change seem to have caused not finding `SkippedException` at runtime in > certain cases. C

Re: RFR: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException [v2]

2025-06-03 Thread Justin Lu
On Tue, 3 Jun 2025 16:59:18 GMT, Naoto Sato wrote: >> Fixing a regression caused by the fix to JDK-8356985. Although the fix in >> `CharsetTest` was a clean-up and not the gist of the original issue, the >> change seem to have caused not finding `SkippedException` at runtime in >> certain case

Integrated: 8356128: Correct documentation for --linux-package-deps

2025-06-03 Thread Stefan Lobbenmeier
On Fri, 14 Feb 2025 15:01:35 GMT, Stefan Lobbenmeier wrote: > The documentation suggests that --linux-package-deps is a boolean option, > while in fact it is a string option with dependencies separated by comma and > space > > You can tell that this option is supposed to have an argument here:

Re: RFR: 8356977: UTF-8 cleanups [v3]

2025-06-03 Thread Naoto Sato
On Tue, 3 Jun 2025 17:42:37 GMT, Magnus Ihse Bursie wrote: >> I found a few other places in the code that can be cleaned up after the >> conversion to UTF-8. > > Magnus Ihse Bursie has updated the pull request with a new target base due to > a merge or a rebase. The incremental webrev excludes

Re: RFR: 8357995: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [core] [v4]

2025-06-03 Thread Naoto Sato
On Tue, 3 Jun 2025 07:55:06 GMT, Volkan Yazici wrote: >> Passes the `Charset` read from the `stdin.encoding` system property while >> creating `InputStreamReader` or `Scanner` instances for `System.in`. >> >> `stdin.encoding` is a recently added property for Java 25 in >> [JDK-8350703](https:/

Re: RFR: 8358015: Fix SequencedMap sequenced view method specifications [v2]

2025-06-03 Thread Stuart Marks
On Mon, 2 Jun 2025 20:41:41 GMT, Joe Darcy wrote: >> Stuart Marks has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Tweak nsee() declaration; adjust specs per suggestion; update copyrights. > > src/java.base/share/classes/java/util/Sequenc

Re: RFR: 8357798: ReverseOrderListView uses Boolean boxes after JDK-8356080 [v2]

2025-06-03 Thread Stuart Marks
On Mon, 2 Jun 2025 13:26:36 GMT, Aleksey Shipilev wrote: >> SonarCloud complains that since >> [JDK-8356080](https://bugs.openjdk.org/browse/JDK-8356080) we are using >> `Boolean` boxes in `ReverseOrderListView`. This change `boolean` -> >> `Boolean` was made in >> [JDK-8356080](https://bugs.

Re: RFR: 8357995: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [core] [v4]

2025-06-03 Thread Weijun Wang
On Tue, 3 Jun 2025 07:55:06 GMT, Volkan Yazici wrote: >> Passes the `Charset` read from the `stdin.encoding` system property while >> creating `InputStreamReader` or `Scanner` instances for `System.in`. >> >> `stdin.encoding` is a recently added property for Java 25 in >> [JDK-8350703](https:/

Re: RFR: 8357995: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [core]

2025-06-03 Thread Volkan Yazici
On Tue, 3 Jun 2025 16:35:01 GMT, Weijun Wang wrote: > I’m just not sure if we’ll end up changing the rule again in the future. > Hardcoding the system property name makes me a bit uneasy, and the default > fallback being hardcoded as well adds to that concern. Thanks so much for the review @wa

Re: RFR: 8358449: Locale.getISOCountries does not specify the returned set is unmodifiable

2025-06-03 Thread Justin Lu
On Tue, 3 Jun 2025 18:17:17 GMT, Naoto Sato wrote: >> Please review this trivial doc correction to >> `Locale.getISOCountries(Locale.IsoCountryCode type)` which makes it apparent >> that the returned Set is unmodifiable. Associated CSR filed. > > Looks good. Reviewed the CSR too, but not sure i

Re: RFR: 8358449: Locale.getISOCountries does not specify the returned set is unmodifiable

2025-06-03 Thread Naoto Sato
On Tue, 3 Jun 2025 17:13:45 GMT, Justin Lu wrote: > Please review this trivial doc correction to > `Locale.getISOCountries(Locale.IsoCountryCode type)` which makes it apparent > that the returned Set is unmodifiable. Associated CSR filed. Looks good. Reviewed the CSR too, but not sure it would

Re: RFR: 8358170: Repurpose testCompat in test/jdk/java/util/TimeZone/Bug8167143.java [v2]

2025-06-03 Thread Naoto Sato
On Tue, 3 Jun 2025 17:52:13 GMT, Justin Lu wrote: >> Please review this PR which modifies the >> test/jdk/java/util/TimeZone/Bug8167143.java "testCompat" case to be >> repurposed to check the implicit locales for the FALLBACK BreakIterator and >> Collator providers. (FALLBACK is the primary pr

Re: RFR: 8356128: Correct documentation for --linux-package-deps [v4]

2025-06-03 Thread duke
On Tue, 27 May 2025 19:48:11 GMT, Stefan Lobbenmeier wrote: >> The documentation suggests that --linux-package-deps is a boolean option, >> while in fact it is a string option with dependencies separated by comma and >> space >> >> You can tell that this option is supposed to have an argument

Re: RFR: 8356977: UTF-8 cleanups [v2]

2025-06-03 Thread Magnus Ihse Bursie
On Mon, 26 May 2025 08:20:19 GMT, Magnus Ihse Bursie wrote: >> I found a few other places in the code that can be cleaned up after the >> conversion to UTF-8. > > Magnus Ihse Bursie has updated the pull request incrementally with two > additional commits since the last revision: > > - Restore

Re: RFR: 8358170: Repurpose testCompat in test/jdk/java/util/TimeZone/Bug8167143.java [v2]

2025-06-03 Thread Justin Lu
On Tue, 3 Jun 2025 17:40:19 GMT, Naoto Sato wrote: >> Justin Lu has updated the pull request incrementally with one additional >> commit since the last revision: >> >> review - var rename > > test/jdk/java/util/TimeZone/Bug8167143.java line 239: > >> 237: */ >> 238: private static v

Re: RFR: 8356977: UTF-8 cleanups [v3]

2025-06-03 Thread Magnus Ihse Bursie
> I found a few other places in the code that can be cleaned up after the > conversion to UTF-8. Magnus Ihse Bursie has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull requ

Re: RFR: 8358170: Repurpose testCompat in test/jdk/java/util/TimeZone/Bug8167143.java [v2]

2025-06-03 Thread Naoto Sato
On Tue, 3 Jun 2025 17:46:11 GMT, Justin Lu wrote: >> Please review this PR which modifies the >> test/jdk/java/util/TimeZone/Bug8167143.java "testCompat" case to be >> repurposed to check the implicit locales for the FALLBACK BreakIterator and >> Collator providers. (FALLBACK is the primary pr

Re: RFR: 8358170: Repurpose testCompat in test/jdk/java/util/TimeZone/Bug8167143.java [v2]

2025-06-03 Thread Justin Lu
> Please review this PR which modifies the > test/jdk/java/util/TimeZone/Bug8167143.java "testCompat" case to be > repurposed to check the implicit locales for the FALLBACK BreakIterator and > Collator providers. (FALLBACK is the primary provider in those cases.) Since > the method is corrected

Re: RFR: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException [v2]

2025-06-03 Thread Iris Clark
On Tue, 3 Jun 2025 16:59:18 GMT, Naoto Sato wrote: >> Fixing a regression caused by the fix to JDK-8356985. Although the fix in >> `CharsetTest` was a clean-up and not the gist of the original issue, the >> change seem to have caused not finding `SkippedException` at runtime in >> certain case

Re: RFR: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException [v2]

2025-06-03 Thread Joe Wang
On Tue, 3 Jun 2025 16:59:18 GMT, Naoto Sato wrote: >> Fixing a regression caused by the fix to JDK-8356985. Although the fix in >> `CharsetTest` was a clean-up and not the gist of the original issue, the >> change seem to have caused not finding `SkippedException` at runtime in >> certain case

Re: RFR: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException [v2]

2025-06-03 Thread Naoto Sato
On Tue, 3 Jun 2025 05:48:30 GMT, SendaoYan wrote: >> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use of OutputAnalyzer.shouldHaveExitValue() where appropriate > > test/jdk/java/io/Console/StdoutEncodingTest.java line 41: >

RFR: 8358449: Locale.getISOCountries does not specify the returned set is unmodifiable

2025-06-03 Thread Justin Lu
Please review this trivial doc correction to `Locale.getISOCountries(Locale.IsoCountryCode type)` which makes it apparent that the returned Set is unmodifiable. Associated CSR filed. - Commit messages: - init Changes: https://git.openjdk.org/jdk/pull/25622/files Webrev: https://

Re: RFR: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException [v2]

2025-06-03 Thread Naoto Sato
On Tue, 3 Jun 2025 06:13:35 GMT, Johannes Döbler wrote: >> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use of OutputAnalyzer.shouldHaveExitValue() where appropriate > > test/jdk/java/io/Console/StdoutEncodingTest.java line

Re: RFR: 8356128: Correct documentation for --linux-package-deps [v4]

2025-06-03 Thread Alexey Semenyuk
On Tue, 27 May 2025 19:48:11 GMT, Stefan Lobbenmeier wrote: >> The documentation suggests that --linux-package-deps is a boolean option, >> while in fact it is a string option with dependencies separated by comma and >> space >> >> You can tell that this option is supposed to have an argument

Re: RFR: 8358456: ZipFile.getInputStream(ZipEntry) throws unspecified IllegalArgumentException

2025-06-03 Thread Lance Andersen
On Tue, 3 Jun 2025 06:35:09 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in > https://bugs.openjdk.org/browse/JDK-8358456? > > In Java 24, through https://bugs.openjdk.org/browse/JDK-8341597 we did a > change which started using the "compr

Re: RFR: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException [v2]

2025-06-03 Thread Naoto Sato
> Fixing a regression caused by the fix to JDK-8356985. Although the fix in > `CharsetTest` was a clean-up and not the gist of the original issue, the > change seem to have caused not finding `SkippedException` at runtime in > certain cases. Changing the test to JUnit based so that the offending

RFR: 8358170: Repurpose testCompat in test/jdk/java/util/TimeZone/Bug8167143.java

2025-06-03 Thread Justin Lu
Please review this PR which modifies the test/jdk/java/util/TimeZone/Bug8167143.java "testCompat" case to be repurposed to check the implicit locales for the FALLBACK BreakIterator and Collator providers. (FALLBACK is the primary provider in those cases.) Since the method is corrected, it can b

Re: RFR: 8357995: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [core]

2025-06-03 Thread Weijun Wang
On Fri, 30 May 2025 13:59:06 GMT, Volkan Yazici wrote: > > Have you thought about creating a helper method for this purpose even if > > it's internal? At least, for the tests you can create one in `/test/lib`. > > Required changes are pretty minimal – passing > `System.getProperty("stdin.encod

Integrated: 8354450: A File should be invalid if an element of its name sequence ends with a space

2025-06-03 Thread Brian Burkhalter
On Mon, 14 Apr 2025 20:57:17 GMT, Brian Burkhalter wrote: > In `java.io.WinNTFileSystem::isInvalid`, replace an insufficient test for > file path validity with a sufficient test for file path invalidity. Also, add > a new test. This pull request has now been integrated. Changeset: 57862005 Au

Re: RFR: 8358095: Cleanup tests with explicit locale provider set to only CLDR [v3]

2025-06-03 Thread Justin Lu
On Fri, 30 May 2025 17:02:12 GMT, Justin Lu wrote: >> Please review this PR which cleans up some i18n tests. >> >> There are some i18n related tests that set the locale provider to CLDR (and >> only CLDR). Since JDK9, this is redundant and equivalent to the default. >> Thus, occurrences of "-D

Integrated: 8358095: Cleanup tests with explicit locale provider set to only CLDR

2025-06-03 Thread Justin Lu
On Thu, 29 May 2025 21:59:30 GMT, Justin Lu wrote: > Please review this PR which cleans up some i18n tests. > > There are some i18n related tests that set the locale provider to CLDR (and > only CLDR). Since JDK9, this is redundant and equivalent to the default. > Thus, occurrences of "-Djava.

Re: RFR: 8358456: ZipFile.getInputStream(ZipEntry) throws unspecified IllegalArgumentException

2025-06-03 Thread Jaikiran Pai
On Tue, 3 Jun 2025 06:35:09 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in > https://bugs.openjdk.org/browse/JDK-8358456? > > In Java 24, through https://bugs.openjdk.org/browse/JDK-8341597 we did a > change which started using the "compr

Integrated: 8348986: Improve coverage of enhanced exception messages

2025-06-03 Thread Michael McMahon
On Thu, 6 Mar 2025 10:24:13 GMT, Michael McMahon wrote: > Hi, > > Enhanced exception messages are designed to hide sensitive information such > as hostnames, IP > addresses from exception message strings, unless the enhanced mode for the > specific category > has been explicitly enabled. Enh

Re: RFR: 8348986: Improve coverage of enhanced exception messages [v20]

2025-06-03 Thread Daniel Fuchs
On Tue, 3 Jun 2025 14:23:54 GMT, Michael McMahon wrote: >> Hi, >> >> Enhanced exception messages are designed to hide sensitive information such >> as hostnames, IP >> addresses from exception message strings, unless the enhanced mode for the >> specific category >> has been explicitly enabl

Re: RFR: 8348986: Improve coverage of enhanced exception messages [v20]

2025-06-03 Thread Michael McMahon
> Hi, > > Enhanced exception messages are designed to hide sensitive information such > as hostnames, IP > addresses from exception message strings, unless the enhanced mode for the > specific category > has been explicitly enabled. Enhanced exceptions were first introduced in > 8204233 in JD

Re: RFR: 8351594: JFR: Rate-limited sampling of Java events [v3]

2025-06-03 Thread Markus Grönlund
On Tue, 3 Jun 2025 12:50:49 GMT, Erik Gahlin wrote: >> Could I have review of an enhancement that adds rate-limited sampling to >> Java events, including five events in the JDK (SocketRead, SocketWrite, >> FileRead, FileWrite, and JavaExceptionThrow). >> >> Testing: test/jdk/jdk/jfr >> >> Tha

Re: RFR: 8348986: Improve coverage of enhanced exception messages [v19]

2025-06-03 Thread Daniel Fuchs
On Tue, 3 Jun 2025 08:14:48 GMT, Michael McMahon wrote: >> Hi, >> >> Enhanced exception messages are designed to hide sensitive information such >> as hostnames, IP >> addresses from exception message strings, unless the enhanced mode for the >> specific category >> has been explicitly enabl

Re: RFR: 8351594: JFR: Rate-limited sampling of Java events [v3]

2025-06-03 Thread Erik Gahlin
> Could I have review of an enhancement that adds rate-limited sampling to Java > event, including five events in the JDK (SocketRead, SocketWrite, FileRead, > FileWrite, and JavaExceptionThrow). > > Testing: test/jdk/jdk/jfr > > Thanks > Erik Erik Gahlin has updated the pull request increment

Re: Add varargs to Path::resolve?

2025-06-03 Thread Jaikiran Pai
Hello David, On 03/06/25 5:17 am, David Alayachew wrote: ... I would much prefer to just use varargs, and list them all up front, as opposed to having to call resolve over and over. rootPath.resolve("src", "main", "java"); This is already possible since Java 22 https://docs.oracle.com/en/j

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

2025-06-03 Thread Nizar Benalla
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 I realize there are no classfiles in `jdk.editpad` but the test can also check the `@since` information in the `module-info.java` fi

Re: RFR: 8355746: Start of release updates for JDK 26 [v7]

2025-06-03 Thread Nizar Benalla
> Get JDK 26 underway. Nizar Benalla has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 20 commits: - Merge branch 'master' into jdk.8355746 - Problemlist JavaBaseCheckSince - Revert "feedback: never bump ASM version" This reve

Re: RFR: 8355746: Start of release updates for JDK 26 [v6]

2025-06-03 Thread Nizar Benalla
On Mon, 2 Jun 2025 14:46:15 GMT, Nizar Benalla wrote: >> Get JDK 26 underway. > > Nizar Benalla has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains 18 commits: > > - Revert "feedback: never bump ASM version" > >This reverts co

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

2025-06-03 Thread Nizar Benalla
Please review this patch to add a new test to check `@since` tags in the `jdk.editpad` module. TIA - Commit messages: - add new `@since` test Changes: https://git.openjdk.org/jdk/pull/25613/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25613&range=00 Issue: https://bu

Re: RFR: 8358456: ZipFile.getInputStream(ZipEntry) throws unspecified IllegalArgumentException

2025-06-03 Thread Eirik Bjørsnøs
On Tue, 3 Jun 2025 06:35:09 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in > https://bugs.openjdk.org/browse/JDK-8358456? > > In Java 24, through https://bugs.openjdk.org/browse/JDK-8341597 we did a > change which started using the "compr

Re: RFR: 8358456: ZipFile.getInputStream(ZipEntry) throws unspecified IllegalArgumentException

2025-06-03 Thread Eirik Bjørsnøs
On Tue, 3 Jun 2025 06:35:09 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in > https://bugs.openjdk.org/browse/JDK-8358456? > > In Java 24, through https://bugs.openjdk.org/browse/JDK-8341597 we did a > change which started using the "compr

Re: [External] : Re: Should mapConcurrent() respect time order instead of input order?

2025-06-03 Thread Viktor Klang
The general feedback received thus far has been primarily positive. There have been a few behavior-related enhancements over the previews to better handle interruption (there's still room to improve there, as per our concurrent conversation) as well as some improvements to work-in-progress track

Re: RFR: 8357821: Revert incorrectly named JavaLangAccess::unchecked* methods

2025-06-03 Thread Volkan Yazici
On Fri, 30 May 2025 11:57:39 GMT, Volkan Yazici wrote: > Reverts certain [JDK-8353197](https://bugs.openjdk.org/browse/JDK-8353197) > (which implements JavaDoc improvement and precautionary naming for certain > unsafe methods in `jdk.internal.access.JavaLangAccess`) changes that are > found to

Re: RFR: 8347491: IllegalArgumentationException thrown by ThreadPoolExecutor doesn't have a useful message

2025-06-03 Thread Viktor Klang
On Thu, 22 May 2025 02:09:08 GMT, He-Pin(kerr) wrote: >> @He-Pin Just pinging you here, in case the notification from my most recent >> comments got lost in transit. > > @viktorklang-ora @liach, I think we need a contribution guide that explains > how to set up the work in the IDE, how to perfo

Re: RFR: 8357798: ReverseOrderListView uses Boolean boxes after JDK-8356080 [v2]

2025-06-03 Thread Aleksey Shipilev
On Mon, 2 Jun 2025 13:26:36 GMT, Aleksey Shipilev wrote: >> SonarCloud complains that since >> [JDK-8356080](https://bugs.openjdk.org/browse/JDK-8356080) we are using >> `Boolean` boxes in `ReverseOrderListView`. This change `boolean` -> >> `Boolean` was made in >> [JDK-8356080](https://bugs.

Re: RFR: 8348986: Improve coverage of enhanced exception messages [v19]

2025-06-03 Thread Michael McMahon
> Hi, > > Enhanced exception messages are designed to hide sensitive information such > as hostnames, IP > addresses from exception message strings, unless the enhanced mode for the > specific category > has been explicitly enabled. Enhanced exceptions were first introduced in > 8204233 in JD

Re: RFR: 8357995: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [core] [v4]

2025-06-03 Thread Volkan Yazici
> Passes the `Charset` read from the `stdin.encoding` system property while > creating `InputStreamReader` or `Scanner` instances for `System.in`. > > `stdin.encoding` is a recently added property for Java 25 in > [JDK-8350703](https://bugs.openjdk.org/browse/JDK-8350703). Employing it > throug

Re: Add varargs to Path::resolve?

2025-06-03 Thread David Alayachew
Heh, I forgot that my Javadoc was set to 21. Thank you for the correction. On Mon, Jun 2, 2025, 11:58 PM Jaikiran Pai wrote: > Hello David, > > On 03/06/25 5:17 am, David Alayachew wrote: > > ... > > > > I would much prefer to just use varargs, and list them all up front, > > as opposed to havin

Re: RFR: 8356128: Correct documentation for --linux-package-deps [v4]

2025-06-03 Thread Stefan Lobbenmeier
On Tue, 27 May 2025 19:48:11 GMT, Stefan Lobbenmeier wrote: >> The documentation suggests that --linux-package-deps is a boolean option, >> while in fact it is a string option with dependencies separated by comma and >> space >> >> You can tell that this option is supposed to have an argument