RFR: 8368960: Adjust java UL logging in the build [v3]

Matthias Baesken mbaesken at openjdk.org
Sat Oct 4 11:49:49 UTC 2025


On Fri, 3 Oct 2025 11:42:54 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> 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
>
> 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.

So should I set something like `-Xlog:disable` _additionally_ to the  `-Xlog:all=warning:stderr ` ?
The whole UL sometimes is strange and a bit confusing to me.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27588#discussion_r2403930707


More information about the build-dev mailing list