Re: RFR: 8349638: Build libjdwp with SIZE optimization

2025-05-21 Thread Magnus Ihse Bursie
On Tue, 11 Feb 2025 15:56:39 GMT, Matthias Baesken wrote: > The libjdwp is currently built with LOW optimization level, it could be built > with SIZE optimization to lower the lib size by ~ 10 % on UNIX. > On Windows LOW and SIZE currently translate to the same O1 optimization flag > so no diff

Integrated: 8357048: RunTest variables should always be assigned

2025-05-21 Thread Magnus Ihse Bursie
On Tue, 20 May 2025 13:28:22 GMT, Magnus Ihse Bursie wrote: > In `SetJtregValue` and `SetMicroValue`, if a default or user-supplied value > was given, the corresponding "local" variable was assigned using :=, which > will force future eager evaluation of the variable, most notably `+=`. > Howe

Integrated: 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build

2025-05-21 Thread Sergey Bylokhov
On Sun, 18 May 2025 23:44:13 GMT, Sergey Bylokhov wrote: > This patch suppresses compiler warning C5287 triggered in debugInit.c when > building with Visual Studio 2022 version 17.14 (released a few days ago). > > I’m simply disabling the warning to unblock the broken build. This change is > i

RFR: 8357376: Disable syntax highlighting for JDK API docs

2025-05-21 Thread Hannes Wallnöfer
Please review a trivial change to disable syntax highlighting in JDK API docs. - Commit messages: - 8357376: Disable syntax highlighting for JDK API docs Changes: https://git.openjdk.org/jdk/pull/25348/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25348&range=00 Issue:

RFR: 8356893: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner

2025-05-21 Thread Volkan Yazici
There are several locations in the JDK source where `System.in` and `FileDescriptor.in` is read with `InputStreamReader` and `Scanner` using the default charset. As recommended by the recently merged [JDK-8356420](https://bugs.openjdk.org/browse/JDK-8356420), this PR replaces the default charse

Re: RFR: 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned

2025-05-21 Thread David Holmes
On Wed, 21 May 2025 23:17:26 GMT, Mikael Vidstedt wrote: > Backing out JDK-8357048 which broke testing. > > Testing: tier5 (in progress) LGTM. Thanks for doing the backout. - Marked as reviewed by dholmes (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/25374#pullrequestre

Re: RFR: 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned

2025-05-21 Thread Erik Joelsson
On Wed, 21 May 2025 23:17:26 GMT, Mikael Vidstedt wrote: > Backing out JDK-8357048 which broke testing. > > Testing: tier5 (in progress) Marked as reviewed by erikj (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/25374#pullrequestreview-2859375418

RFR: 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned

2025-05-21 Thread Mikael Vidstedt
Backing out JDK-8357048 which broke testing. Testing: tier5 (in progress) - Commit messages: - 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned Changes: https://git.openjdk.org/jdk/pull/25374/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25374&rang

Re: RFR: 8357000: Write overview documentation for start of release changes [v2]

2025-05-21 Thread Iris Clark
On Tue, 20 May 2025 17:14:38 GMT, Joe Darcy wrote: >> First attempt to populate "supplementary docs" with a discussion of the >> start of release changes. For reference on the idea of supplementary docs, >> see the thread >> >> "Where to put supplementary docs?" >> https://mail.openjdk.org/pip

Integrated: 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned

2025-05-21 Thread Mikael Vidstedt
On Wed, 21 May 2025 23:17:26 GMT, Mikael Vidstedt wrote: > Backing out JDK-8357048 which broke testing. > > Testing: tier5 (in progress) This pull request has now been integrated. Changeset: b685ea54 Author:Mikael Vidstedt URL: https://git.openjdk.org/jdk/commit/b685ea54081fcf54a65

Re: RFR: 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned

2025-05-21 Thread Mikael Vidstedt
On Wed, 21 May 2025 23:17:26 GMT, Mikael Vidstedt wrote: > Backing out JDK-8357048 which broke testing. > > Testing: tier5 (in progress) Thank you for the quick reviews! - PR Comment: https://git.openjdk.org/jdk/pull/25374#issuecomment-2899584725

Re: RFR: 8357000: Write overview documentation for start of release changes [v2]

2025-05-21 Thread Mark Reinhold
On Tue, 20 May 2025 17:14:38 GMT, Joe Darcy wrote: >> First attempt to populate "supplementary docs" with a discussion of the >> start of release changes. For reference on the idea of supplementary docs, >> see the thread >> >> "Where to put supplementary docs?" >> https://mail.openjdk.org/pip

Re: RFR: 8356894: Adjust CreateSymbols to properly handle the newly added @jdk.internal.RequiresIdentity [v3]

2025-05-21 Thread Vicente Romero
On Wed, 21 May 2025 06:19:36 GMT, Jan Lahoda wrote: >> This patch builds on top of https://github.com/openjdk/jdk/pull/24746, and >> adds support for `@RequiresIdentity` to `--release`. >> >> Important parts of the patch: >> - `CreateSymbols` now keeps >> `RuntimeInvisibleTypeAnnotationsAttrib

Re: RFR: 8356893: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner

2025-05-21 Thread Alan Bateman
On Wed, 21 May 2025 20:56:31 GMT, Volkan Yazici wrote: > There are several locations in the JDK source where `System.in` and > `FileDescriptor.in` is read with `InputStreamReader` and `Scanner` using the > default charset. As recommended by the recently merged > [JDK-8356420](https://bugs.open

Re: RFR: JDK-8354316 : clang/linux build fails with -Wunused-result warning at XToolkit.c:695:9 [v2]

2025-05-21 Thread SendaoYan
On Wed, 14 May 2025 21:28:37 GMT, Harshitha Onkar wrote: >> The following line results in unused-result warning on linux/clang. >> >> >> /java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c:695:9: error: ignoring >> return value of function >> declared with 'warn_unused_result' attribute [-W

Re: RFR: 8356893: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner

2025-05-21 Thread Roger Riggs
On Wed, 21 May 2025 20:56:31 GMT, Volkan Yazici wrote: > There are several locations in the JDK source where `System.in` and > `FileDescriptor.in` is read with `InputStreamReader` and `Scanner` using the > default charset. As recommended by the recently merged > [JDK-8356420](https://bugs.open

Re: RFR: 8355452: GHA: Test jtreg tier1 on linux-x64 static-jdk [v11]

2025-05-21 Thread Jiangli Zhou
> Please review this PR that adds a `test-linux-x64-static` job, which runs > tier1 tests on the static-jdk 'release' binary created from the > `linux-x64-static` build job in GHA. Following are the details on the changes: > > .github/actions/get-bundles/action.yml. > - Add `static-suffix` param

Re: RFR: 8355452: GHA: Test jtreg tier1 on linux-x64 static-jdk [v12]

2025-05-21 Thread Jiangli Zhou
> Please review this PR that adds a `test-linux-x64-static` job, which runs > tier1 tests on the static-jdk 'release' binary created from the > `linux-x64-static` build job in GHA. Following are the details on the changes: > > .github/actions/get-bundles/action.yml. > - Add `static-suffix` param

Re: RFR: 8355452: GHA: Test jtreg tier1 on linux-x64 static-jdk [v12]

2025-05-21 Thread Jiangli Zhou
On Wed, 21 May 2025 22:09:15 GMT, Jiangli Zhou wrote: >> Please review this PR that adds a `test-linux-x64-static` job, which runs >> tier1 tests on the static-jdk 'release' binary created from the >> `linux-x64-static` build job in GHA. Following are the details on the >> changes: >> >> .git

Re: RFR: 8357000: Write overview documentation for start of release changes [v2]

2025-05-21 Thread Joe Darcy
On Wed, 21 May 2025 16:50:42 GMT, Erik Joelsson wrote: > > @erikj79 , do you know the build target that would generate the HTML from > > the new Mardown file? Thanks. > > ``` > make update-build-docs > ``` > > I'm not sure if it will search recursively through subdirectories or not. It did no

Integrated: 8357376: Disable syntax highlighting for JDK API docs

2025-05-21 Thread Hannes Wallnöfer
On Wed, 21 May 2025 10:36:58 GMT, Hannes Wallnöfer wrote: > Please review a trivial change to disable syntax highlighting in JDK API docs. This pull request has now been integrated. Changeset: a07150af Author:Hannes Wallnöfer URL: https://git.openjdk.org/jdk/commit/a07150af1139b2625

Re: RFR: 8357000: Write overview documentation for start of release changes [v2]

2025-05-21 Thread Erik Joelsson
On Tue, 20 May 2025 20:06:28 GMT, Erik Joelsson wrote: >> Joe Darcy has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Respond to review feedback. > > Marked as reviewed by erikj (Reviewer). > @erikj79 , do you know the build target that w

Re: RFR: 8357000: Write overview documentation for start of release changes [v2]

2025-05-21 Thread Chen Liang
On Tue, 20 May 2025 17:14:38 GMT, Joe Darcy wrote: >> First attempt to populate "supplementary docs" with a discussion of the >> start of release changes. For reference on the idea of supplementary docs, >> see the thread >> >> "Where to put supplementary docs?" >> https://mail.openjdk.org/pip

Re: RFR: 8357000: Write overview documentation for start of release changes [v2]

2025-05-21 Thread Joe Darcy
On Tue, 20 May 2025 20:06:28 GMT, Erik Joelsson wrote: >> Joe Darcy has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Respond to review feedback. > > Marked as reviewed by erikj (Reviewer). @erikj79 , do you know the build target that wou

Re: RFR: 8357376: Disable syntax highlighting for JDK API docs

2025-05-21 Thread Erik Joelsson
On Wed, 21 May 2025 10:36:58 GMT, Hannes Wallnöfer wrote: > Please review a trivial change to disable syntax highlighting in JDK API docs. Marked as reviewed by erikj (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/25348#pullrequestreview-2857648558