How to detect that a VM was started with --enable-preview ?
sean.coffey at oracle.com
Tue Oct 9 15:27:41 UTC 2018
would `jcmd <pid> VM.info | grep jvm_args:` help ? or `jcmd <pid>
On 09/10/2018 16:20, Remi Forax wrote:
> Hi all,
> it seems that there is no simple way* to detect if a VM is started with --enable-preview or not ?
> * apart using JMX to sniff the VM command line with ManagementFactory.getRuntimeMXBean().getInputArguments()
More information about the core-libs-dev