RFR: 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI [v8]

Kevin Rushforth kcr at openjdk.org
Thu May 23 14:00:14 UTC 2024


On Thu, 23 May 2024 06:20:51 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > Further, I confirm that if I pass that option to jlink or jpackage when creating a custom runtime, there is no warning.
> 
> Great! What about jpackage without a custom runtime, wondering if --java-options can be tested.

Yes, pointing to an existing runtime works, too. In either mode (jpackage using an existing Java runtime vs running jlink to create a new one), the options specified by `jpackage --java-options` are written to the application's `.cfg` file and used when the application launcher is run.

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

PR Comment: https://git.openjdk.org/jdk/pull/19213#issuecomment-2127188783


More information about the serviceability-dev mailing list