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

Matthias Baesken mbaesken at openjdk.org
Tue Oct 7 09:20:14 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

I adjusted the UL settings again, and now I see the 'bad'  output


[0.010s][error][cds] An error has occurred while processing the shared archive file. Run with -Xlog:aot,cds for details.
[0.010s][error][cds] Mismatched values for property jdk.module.addexports: java.base/sun.security.util=ALL-UNNAMED specified during runtime but not during dump time
[0.010s][error][cds] Disabling optimized module handling


in the `build.log` as expected and not any more in the `blocked.certs`  file , where we don't want to see it .

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

PR Comment: https://git.openjdk.org/jdk/pull/27588#issuecomment-3375942715


More information about the build-dev mailing list