RFR: 8368960: Adjust java UL logging in the build [v3]
David Holmes
dholmes at openjdk.org
Fri Oct 3 11:45:47 UTC 2025
On Thu, 2 Oct 2025 15:06:35 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> In the build process, unwanted UL error/warning messages can pollute stdout and influence the build process/results.
>>
>> An example is the polluted blocked.certs file from https://bugs.openjdk.org/browse/JDK-8357691 .
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> Adjust logging in the build instead of just disabling it
Changes requested by dholmes (Reviewer).
make/autoconf/boot-jdk.m4 line 447:
> 445: UTIL_ADD_JVM_ARG_IF_OK([-Duser.language=en -Duser.country=US],boot_jdk_jvmargs,[$JAVA])
> 446:
> 447: UTIL_ADD_JVM_ARG_IF_OK([-Xlog:all=warning:stderr],boot_jdk_jvmargs,[$JAVA])
This is not sufficient you have to disable the warnings on stdout, not just enable them on stderr.
-------------
PR Review: https://git.openjdk.org/jdk/pull/27588#pullrequestreview-3298570936
PR Review Comment: https://git.openjdk.org/jdk/pull/27588#discussion_r2401612970
More information about the build-dev
mailing list