Improving OpenJDK for FreeBSD

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Feb 20 16:12:11 UTC 2025


On 2025-02-19 22:13, Andrew Hughes wrote:

> A cursory glance through the PR suggested to me that there is as much
> a case for the BSD port sharing a directory with Linux as there is
> MacOS, given the number of cases I saw where it was added to Linux
> #ifdefs.

As Phil commented, this is likely mostly tied to X11. In fact, grouping 
OSes together as "unix" fits poorly with X11, since macOS is clearly a 
unix OS in most respects, but it does not use X11. We have a bunch of 
ugly hacks in the build system to include X11 on the "unix but not 
macOS" subset. I've been annoyed by it from time to time, but not really 
come up with any better solution.

/Magnus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20250220/4bed868a/attachment-0001.htm>


More information about the jdk-dev mailing list