On Tue, 10 Mar 2026 08:55:20 GMT, Matthias Baesken <[email protected]> wrote:

> > We don't have a headless windows build. This will just produce a headful 
> > windows build with missing symbols. That --enable-headless-only option 
> > should be rejected on windows (and Mac).
> 
> Should I change the autoconf files for rejecting it on these 2 platforms ? On 
> the other hand , having a headless-only build on Windows might make sense 
> (for container/server environments) ; for macOS it is probably less 
> interesting I guess.

We do not have a headless build for windows. passing a build flag will not make 
it so.
So rejecting it would be the more logical thing to do.

> Btw. on macOS we have already some HEADLESS / non-HEADLESS handling in the 
> code
> 
> `macosx/native/libawt_lwawt/font/AWTFont.m:517:#ifndef HEADLESS`
> 
> (but it is most likely far from complete, and was just likely added because 
> it was copied from other code ?)

Most likely.

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

PR Comment: https://git.openjdk.org/jdk/pull/30148#issuecomment-4033661491

Reply via email to