RFR: 8303485: Replacing os.name for operating system customization

Michael Osipov duke at openjdk.org
Sun Mar 12 14:00:23 UTC 2023


On Fri, 10 Mar 2023 14:22:17 GMT, Justin King <jcking at openjdk.org> wrote:

> > > Has this totally killed of BSD support on the JDK side? I thought building non-macOS BSD was still viable, but perhaps not - certainly not after this change.
> > 
> > 
> > The macOS port in 7u4 was based on a BSD port and there was a time when it was possible to build. Right now, we have src/hotspot/os/bsd and native code in the libs that is compiled in with _ALLBSD_SOURCE. It's sad to see the BSD port bit rot but if it's not maintained or tested in the OpenJDK project then the changes proposed here may be okay. For porters then know which code needs to be ported is important, ideally there would be a compile or build time if someone significant is missing.
> 
> Yes it is unfortunate. It would be nice if NetBSD, FreeBSD, OpenBSD, and friends would collaborate. I think the majority of their changes are fixing build issues and making AWT/Swing use X11 instead of macOS-specific stuff (Quartz or Cocoa or whatever). Maybe I'll go poke them eventually.

I bet @battleblow has tried, but that wasn't fruitful with the OpenJDK team.

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

PR: https://git.openjdk.org/jdk/pull/12931



More information about the build-dev mailing list