<div dir="ltr"><div>Hi all, <br></div><div><br></div><div>I've finally achieved a milestone I was fighting hard for in my library (<a href="https://github.com/markehammons/slinc">https://github.com/markehammons/slinc</a>), support for multiple versions of foreign with the same program. I have a runtime test configured on that project that takes on its classpath the Slinc-j19 runtime and the Slinc-j17 runtime, chooses the correct implementation at runtime based on the host jvm, and executes code the same (so far). The one fly in the ointment is the command-line requirements for foreign on java 17. "--add-modules=jdk.incubator.foreign" won't work on java 19 for obvious reasons, but I can't find a way to get the jvm to ignore the missing module, nor can I find a way to get java 17 foreign to work without that command line option. Do you all have any solution?</div><div><br></div><div>The main draw for this is to make it very easy for library or application devs to write one version of their project and not have to select the correct set of jvm command line options in order to get their project working.</div><div><br></div><div>Thanks,</div><div>Mark<br></div><br></div>