On Wed, 15 May 2024 10:18:11 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

> The FFM code throws if an unknown value is passed. Here we log. Should we try 
> to be more consistent?

I don't have a strong opinion on this. The value of --illegal-native-access is 
examined during startup so startup can fail if a bad value is specified. Here 
it is mid-flight when Unsafe initialises. The coin toss landed on printing a 
warning but it could equally fail. I jus didn't want code executing during 
startup to check configuration for something faraway in the jdk.unsupported 
module.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19174#discussion_r1601582672

Reply via email to