On Thu, 4 May 2023 19:56:21 GMT, Erik Joelsson <er...@openjdk.org> wrote:

> I would like to understand why we need to add third party headers to our 
> source tree. Are these not generally available on Linux systems?


They are not available on anything except very new Linux distros.
Forget RHEL 6.x / 7.x. I'm fairly sure not 8.x either.
RHEL/OL 9.x could an example of the earliest that would work to build without 
these imports.
And that's just for building, even current 9.1 doesn't have sufficiently 
working runtime libs.
There should be a fix for that in 9.2 .. 

 Ubuntu 22.04 is however known to be OK.

> You say that the functionality isn't enabled by default, is that a runtime 
> thing? It loos like it will be built unconditionally.

Yes, a runtime thing. An implementation System Property needs to be set.

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

PR Comment: https://git.openjdk.org/jdk/pull/13803#issuecomment-1535363156

Reply via email to