RFR: 8376684: Compile OpenJDK in headless mode without required X11 libraries

Phil Race prr at openjdk.org
Thu Jan 29 22:35:36 UTC 2026


On Thu, 29 Jan 2026 21:18:42 GMT, Thomas Devoogdt <duke at openjdk.org> wrote:

>> Sorry, this keeps falling through the cracks. I opened https://bugs.openjdk.org/browse/JDK-8376684 - I guess Alexey was snowed in.
>> 
>> But I am no expert in this area; @magicus and @prrace should look at this.
>> 
>> If this gets pushed, downporting it to LTSes is possible.
>
>> Sorry, this keeps falling through the cracks. I opened https://bugs.openjdk.org/browse/JDK-8376684 - I guess Alexey was snowed in.
>> 
>> But I am no expert in this area; @magicus and @prrace should look at this.
>> 
>> If this gets pushed, downporting it to LTSes is possible.
> 
> Thanks for creating the issue. I've updated the commits with the issue tag.

> @ThomasDevoogdt A PR isn't announced on the mailing list until it's _ready for review_ which includes a valid JBS bug.
> 
> I suggest you write an email to build-dev and client-libs-dev mailing lists to propose this change and discuss it. I haven't found an existing issue in JBS for not requiring X11 libraries in headless mode. I can submit one on your behalf.
> 
> If I have time, I'll test your patch locally and run it in the Oracle CI.

All our build systems have X11. So a test build there doesn't prove much, and also it can easily regress.

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

PR Comment: https://git.openjdk.org/jdk/pull/28310#issuecomment-3820768881


More information about the build-dev mailing list