RFR: 8368960: Adjust java UL logging in the build [v4]
David Holmes
dholmes at openjdk.org
Tue Oct 7 11:02:49 UTC 2025
On Tue, 7 Oct 2025 09:17:20 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 warning
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=off],boot_jdk_jvmargs,[$JAVA])
Suggestion:
UTIL_ADD_JVM_ARG_IF_OK([-Xlog:all=off:stdout],boot_jdk_jvmargs,[$JAVA])
Just to be clear, rather than relying on the fact stdout is the default target device.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27588#discussion_r2410240350
More information about the build-dev
mailing list