On Wed, 22 Nov 2023 06:50:07 GMT, Jorn Vernee <jver...@openjdk.org> wrote:
>> suchismith1993 has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Fix Typos >> - Remove unnecessary includes > > Note that on Windows we also have a lookup mechanism on the Java side: > https://github.com/openjdk/jdk/blob/2c31ca525b1cd70c3dfcb0463c8c984bdd7c886a/src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java#L159 > > On Windows we need to load the global array, and then grab functions from the > array. Why isn't that needed on AIX? Is `dlsym` able to find the statically > linked functions as well? Thank you @JornVernee @magicus @dholmes-ora @TheRealMDoerr @erikj79 Thanks for enocuraging to work towards a better solution which enabled me to understand and explore windows code as well. ------------- PR Comment: https://git.openjdk.org/jdk/pull/16414#issuecomment-1822780431