hotspot/test/compiler/aot/cli/jaotc/JaotcTestHelper.java
changeset 43425 c5dc48e6d9e6
parent 42650 1f304d0c888b
child 43464 f38fde4a6b52
--- a/hotspot/test/compiler/aot/cli/jaotc/JaotcTestHelper.java	Wed Jan 04 10:57:26 2017 -0500
+++ b/hotspot/test/compiler/aot/cli/jaotc/JaotcTestHelper.java	Wed Jan 04 11:44:26 2017 -0800
@@ -44,6 +44,7 @@
         for (String vmOpt : Utils.getTestJavaOpts()) {
             launcher.addVMArg(vmOpt);
         }
+        launcher.addToolArg("--compile-with-assertions");
         for (String arg : args) {
             launcher.addToolArg(arg);
         }