Re: RFR: 8015831: Add lint check for calling overridable methods from a constructor [v14]

2023-01-23 Thread Vicente Romero
On Mon, 23 Jan 2023 19:34:42 GMT, Archie L. Cobbs wrote: > [The CSR](https://bugs.openjdk.org/browse/JDK-825) also needs a review > from a compiler-dev engineer as well if anyone is interested... thanks. some comments on the CSR: - I think the value for field `Compatibility Risk` could be

Integrated: 8300111: Add rpath for common lib locations for jpackageapplauncher

2023-01-23 Thread David
On Tue, 10 Jan 2023 09:57:19 GMT, David wrote: > This patch adds the `-headerpad_max_install_names` linker argument to the > build of the `jpackageapplauncher` binary (osx only) > > Adding this argument allows the user to use the `install_name_tool` to add > search paths for the dynamic linker

RFR: 8300805: Update autoconf build-aux files with latest from 2022-09-17

2023-01-23 Thread Erik Joelsson
For a long time, we have been stuck with very old versions of the autoconf build-aux (config.guess and config.sub) files. Now we have legal approval for updating these files to versions 2022-09-17. I have gone through all the modifications we are currently applying through the wrappers and remo

Re: RFR: 8300806: Update googletest to v1.13.0 [v2]

2023-01-23 Thread Mikael Vidstedt
On Mon, 23 Jan 2023 14:03:53 GMT, Magnus Ihse Bursie wrote: >> Mikael Vidstedt has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Update doc/building.html > > make/autoconf/lib-tests.m4 line 63: > >> 61: # Verify that the version i

Integrated: 8146132: Excessive output from make test-image

2023-01-23 Thread Erik Joelsson
On Tue, 17 Jan 2023 22:18:59 GMT, Erik Joelsson wrote: > Here is my attempt at solving Coleen's logging issue. This patch changes the > log level for the "build info" log messages for all native test libs and > executables to `LogInfo`. It also adds a new meta log message for each call > to Se

Re: RFR: 8300806: Update googletest to v1.13.0 [v4]

2023-01-23 Thread Mikael Vidstedt
> Please review this PR which updates the required version of googletest to > v1.13.0. > > It’s been (quite) a while since we upgraded the version of googletest used to > run the hotspot unit tests (test/hotspot/gtest). The current version (1.8.1) > is from 2018 and there is build issue with Xc

Re: RFR: 8146132: Excessive output from make test-image [v2]

2023-01-23 Thread Erik Joelsson
> Here is my attempt at solving Coleen's logging issue. This patch changes the > log level for the "build info" log messages for all native test libs and > executables to `LogInfo`. It also adds a new meta log message for each call > to SetupTestFilesCompilation, which is kept on LogWarn level,

Re: RFR: 8300806: Update googletest to v1.13.0 [v3]

2023-01-23 Thread Mikael Vidstedt
> Please review this PR which updates the required version of googletest to > v1.13.0. > > It’s been (quite) a while since we upgraded the version of googletest used to > run the hotspot unit tests (test/hotspot/gtest). The current version (1.8.1) > is from 2018 and there is build issue with Xc

Re: RFR: 8300111: Add rpath for common lib locations for jpackageapplauncher

2023-01-23 Thread Erik Joelsson
On Tue, 10 Jan 2023 09:57:19 GMT, David wrote: > This patch adds the `-headerpad_max_install_names` linker argument to the > build of the `jpackageapplauncher` binary (osx only) > > Adding this argument allows the user to use the `install_name_tool` to add > search paths for the dynamic linker

Re: RFR: JDK-8300592: ASan build does not correctly propagate options to some test launchers [v2]

2023-01-23 Thread Justin King
> Update some custom launchers to set the default ASan options, without it the > tests fail due to incompatibility with LSan. Additionally adds `-fno-common` > for ASan build, as suggested by the docs. Justin King has updated the pull request incrementally with two additional commits since the

Re: RFR: JDK-8300592: ASan build does not correctly propagate options to some test launchers

2023-01-23 Thread Justin King
On Wed, 18 Jan 2023 20:40:40 GMT, Justin King wrote: > Update some custom launchers to set the default ASan options, without it the > tests fail due to incompatibility with LSan. Additionally adds `-fno-common` > for ASan build, as suggested by the docs. > I think this should be added to _all_

Re: RFR: 8015831: Add lint check for calling overridable methods from a constructor [v14]

2023-01-23 Thread Archie L . Cobbs
On Wed, 18 Jan 2023 22:27:08 GMT, Archie L. Cobbs wrote: >> This PR adds a new lint warning category `this-escape`. >> >> It also adds `@SuppressWarnings` annotations as needed to the JDK itself to >> allow the JDK to continue to compile with `-Xlint:all`. >> >> A 'this' escape warning is gene

Re: RFR: 8015831: Add lint check for calling overridable methods from a constructor [v14]

2023-01-23 Thread Archie L . Cobbs
On Wed, 18 Jan 2023 22:27:08 GMT, Archie L. Cobbs wrote: >> This PR adds a new lint warning category `this-escape`. >> >> It also adds `@SuppressWarnings` annotations as needed to the JDK itself to >> allow the JDK to continue to compile with `-Xlint:all`. >> >> A 'this' escape warning is gene

Re: RFR: 8015831: Add lint check for calling overridable methods from a constructor [v14]

2023-01-23 Thread Maurizio Cimadamore
On Wed, 18 Jan 2023 22:27:08 GMT, Archie L. Cobbs wrote: >> This PR adds a new lint warning category `this-escape`. >> >> It also adds `@SuppressWarnings` annotations as needed to the JDK itself to >> allow the JDK to continue to compile with `-Xlint:all`. >> >> A 'this' escape warning is gene

Re: RFR: 8015831: Add lint check for calling overridable methods from a constructor [v14]

2023-01-23 Thread Magnus Ihse Bursie
On Wed, 18 Jan 2023 22:27:08 GMT, Archie L. Cobbs wrote: >> This PR adds a new lint warning category `this-escape`. >> >> It also adds `@SuppressWarnings` annotations as needed to the JDK itself to >> allow the JDK to continue to compile with `-Xlint:all`. >> >> A 'this' escape warning is gene

Re: RFR: 8015831: Add lint check for calling overridable methods from a constructor [v14]

2023-01-23 Thread Vicente Romero
On Wed, 18 Jan 2023 22:27:08 GMT, Archie L. Cobbs wrote: >> This PR adds a new lint warning category `this-escape`. >> >> It also adds `@SuppressWarnings` annotations as needed to the JDK itself to >> allow the JDK to continue to compile with `-Xlint:all`. >> >> A 'this' escape warning is gene

Re: RFR: 8146132: Excessive output from make test-image

2023-01-23 Thread Magnus Ihse Bursie
On Tue, 17 Jan 2023 22:18:59 GMT, Erik Joelsson wrote: > Here is my attempt at solving Coleen's logging issue. This patch changes the > log level for the "build info" log messages for all native test libs and > executables to `LogInfo`. It also adds a new meta log message for each call > to Se

Re: RFR: 8295884: Implement IDE support for Eclipse [v30]

2023-01-23 Thread Magnus Ihse Bursie
On Thu, 12 Jan 2023 15:06:43 GMT, Julian Waters wrote: >> Julian Waters has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 38 commits: >> >> - Merge remote-tracking branch 'upstream/master' into eclipse >> - Progress >> - Merge re

Re: RFR: 8300111: Add rpath for common lib locations for jpackageapplauncher

2023-01-23 Thread Magnus Ihse Bursie
On Tue, 10 Jan 2023 09:57:19 GMT, David wrote: > This patch adds the `-headerpad_max_install_names` linker argument to the > build of the `jpackageapplauncher` binary (osx only) > > Adding this argument allows the user to use the `install_name_tool` to add > search paths for the dynamic linker

Re: RFR: JDK-8300592: ASan build does not correctly propagate options to some test launchers

2023-01-23 Thread Magnus Ihse Bursie
On Wed, 18 Jan 2023 20:40:40 GMT, Justin King wrote: > Update some custom launchers to set the default ASan options, without it the > tests fail due to incompatibility with LSan. Additionally adds `-fno-common` > for ASan build, as suggested by the docs. I think this should be added to *all* t

Re: RFR: 8300806: Update googletest to v1.13.0 [v2]

2023-01-23 Thread Erik Joelsson
On Sat, 21 Jan 2023 00:09:18 GMT, Mikael Vidstedt wrote: >> Please review this PR which updates the required version of googletest to >> v1.13.0. >> >> It’s been (quite) a while since we upgraded the version of googletest used >> to run the hotspot unit tests (test/hotspot/gtest). The current

Re: RFR: 8300806: Update googletest to v1.13.0 [v2]

2023-01-23 Thread Magnus Ihse Bursie
On Sat, 21 Jan 2023 00:09:18 GMT, Mikael Vidstedt wrote: >> Please review this PR which updates the required version of googletest to >> v1.13.0. >> >> It’s been (quite) a while since we upgraded the version of googletest used >> to run the hotspot unit tests (test/hotspot/gtest). The current

Re: RFR: 8295795: hsdis does not build with binutils 2.39+

2023-01-23 Thread Magnus Ihse Bursie
On Fri, 21 Oct 2022 15:26:59 GMT, Aleksey Shipilev wrote: > Fails like this: > > > $ sh ./configure --with-boot-jdk=jdk19u-ea --with-hsdis=binutils > --with-binutils-src=binutils-2.39 > $ make clean build-hsdis > > === Output from failing command(s) repeated here === > * For target support_hs

Re: RFR: 8300806: Update googletest to v1.13.0 [v2]

2023-01-23 Thread Magnus Ihse Bursie
On Sat, 21 Jan 2023 00:09:18 GMT, Mikael Vidstedt wrote: >> Please review this PR which updates the required version of googletest to >> v1.13.0. >> >> It’s been (quite) a while since we upgraded the version of googletest used >> to run the hotspot unit tests (test/hotspot/gtest). The current

Re: RFR: 8295795: hsdis does not build with binutils 2.39+

2023-01-23 Thread Aleksey Shipilev
On Mon, 23 Jan 2023 14:00:14 GMT, Magnus Ihse Bursie wrote: > Given that the capstone hsdis version can be made to match the binutil > version in functionality, I think it would be a much saner path forward to > focus on that implementation, and just bundle it with the JVM. I wish Capstone was

Re: RFR: 8295795: hsdis does not build with binutils 2.39+

2023-01-23 Thread Magnus Ihse Bursie
On Fri, 21 Oct 2022 15:26:59 GMT, Aleksey Shipilev wrote: > Fails like this: > > > $ sh ./configure --with-boot-jdk=jdk19u-ea --with-hsdis=binutils > --with-binutils-src=binutils-2.39 > $ make clean build-hsdis > > === Output from failing command(s) repeated here === > * For target support_hs

Re: RFR: 8295795: hsdis does not build with binutils 2.39+

2023-01-23 Thread Magnus Ihse Bursie
On Fri, 21 Oct 2022 15:26:59 GMT, Aleksey Shipilev wrote: > Fails like this: > > > $ sh ./configure --with-boot-jdk=jdk19u-ea --with-hsdis=binutils > --with-binutils-src=binutils-2.39 > $ make clean build-hsdis > > === Output from failing command(s) repeated here === > * For target support_hs

Re: RFR: 8295795: hsdis does not build with binutils 2.39+

2023-01-23 Thread Andrew Haley
On Fri, 21 Oct 2022 15:26:59 GMT, Aleksey Shipilev wrote: > Fails like this: > > > $ sh ./configure --with-boot-jdk=jdk19u-ea --with-hsdis=binutils > --with-binutils-src=binutils-2.39 > $ make clean build-hsdis > > === Output from failing command(s) repeated here === > * For target support_hs