On Wed, 2 Oct 2024 09:38:41 GMT, David Holmes <dhol...@openjdk.org> wrote:
> > So maybe src/java.base/unix/native/libjava > > That is header files for libjava. > > This is why I said it would be hard to find a shared location where this can > be used across different modules - because there presently isn't one. In practise the headers from there go into **a lot** of libs across the whole jdk C codebase. Take for example jni_util.h (share/native/libjava/jni_util.h) - I see this additionally to libjava in C code from libmanagement, awt, librmi , libnio just to name a few . So maybe jni_util.h / jni_util_md.h itself is a place where this can be put. Or a header located beside it . ------------- PR Comment: https://git.openjdk.org/jdk/pull/21184#issuecomment-2388428790