The -ea
option to enable assertions is passed to the JVM not to the compiler. Add it as a VM option for your runtime configuration.
Specific location in the menu: Run > Edit Configurations… > Configuration > VM options:
The -ea
option to enable assertions is passed to the JVM not to the compiler. Add it as a VM option for your runtime configuration.
Specific location in the menu: Run > Edit Configurations… > Configuration > VM options: