Minor thoughts (Re: [External] : Re: JEP draft: Prepare to Restrict The Use of JNI

Simon Nash simon at cjnash.com
Tue Sep 5 09:55:46 UTC 2023


On 04/09/2023 10:48, Ron Pressler wrote
> The end user of your application need not see the warning at all. If you, as the application author, pick a runtime based on a JDK version that has this warning for your application, then *you*, as the application author, will pass the flag to the Java runtime. Your application’s end user need not know about any Java flags; they need not even know your application is a Java application. These are all internal details of your application.
As I explained in an earlier message, I can release a new version of my application that has this change (I will use the new attribute in the launcher jar) but 
many users are still using older versions of the application without this change. They will see the scary warning and will not know what they need to do to make 
it go away.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20230905/a3feb2e7/attachment.htm>


More information about the jdk-dev mailing list