How to detect that a VM was started with --enable-preview ?

Remi Forax forax at univ-mlv.fr
Tue Oct 9 15:20:44 UTC 2018


Hi all,
it seems that there is no simple way* to detect if a VM is started with --enable-preview or not ?

Rémi
* apart using JMX to sniff the VM command line with ManagementFactory.getRuntimeMXBean().getInputArguments()


More information about the core-libs-dev mailing list