On Wed, 19 Jul 2023 07:05:45 GMT, Jaikiran Pai <j...@openjdk.org> wrote:

> I had initially considered that but had noticed that there's a small 
> difference between the generic warning message "Warning: %s option is 
> deprecated and may be removed in a future release." printed by the launcher 
> and the one printed by the VM "OpenJDK 64-Bit Server VM warning: Option 
> -Xdebug was deprecated in JDK 22 and will likely be removed in a future 
> release." But I think that small difference in the warning messages is OK 
> when considered against your stated reasoning that `-debug` isn't known to 
> the VM.

The different deprecation messages is a bit annoying but I think it's better 
than the VM printing a warning for an option that was never possible to specify 
to JNI CreateJavaVM.

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

PR Comment: https://git.openjdk.org/jdk/pull/14918#issuecomment-1641612439

Reply via email to