hotspot/src/share/vm/compiler/directivesParser.cpp
changeset 46714 3cc3fd32a5d6
parent 46638 3c5c50af29a7
--- a/hotspot/src/share/vm/compiler/directivesParser.cpp	Mon Jul 24 22:56:43 2017 +0000
+++ b/hotspot/src/share/vm/compiler/directivesParser.cpp	Tue Jul 25 08:58:24 2017 -0700
@@ -628,11 +628,20 @@
     "    match: \"foo/bar.*\"," "\n"
     "    c2: {" "\n"
     "      PrintInlining: false," "\n"
+    "    }" "\n"
+    "  }" "\n"
+    "]" "\n", true);
+
+  DirectivesParser::test(
+    "[" "\n"
+    "  {" "\n"
+    "    match: \"foo/bar.*\"," "\n"
+    "    c2: {" "\n"
     "      VectorizeDebug: 1," "\n"
     "      VectorizeDebug: -1," "\n"
     "    }" "\n"
     "  }" "\n"
-    "]" "\n", true);
+    "]" "\n", COMPILER2_PRESENT(true) NOT_COMPILER2(false));
 
   DirectivesParser::test(
     "[" "\n"