changeset 10859:28222fcd8e40

Merge
author mockner
date Tue, 12 Apr 2016 02:30:13 +0200
parents d878c100730a 4f9ee8da102f
children d3af0763e973
files
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/logging/ClassInitializationTest.java	Tue Apr 12 00:24:39 2016 +0200
+++ b/test/runtime/logging/ClassInitializationTest.java	Tue Apr 12 02:30:13 2016 +0200
@@ -62,6 +62,16 @@
             out.shouldContain("[Initialized").shouldContain("without side effects]");
             out.shouldHaveExitValue(0);
         }
+
+        // (3) classinit should turn off.
+        pb = ProcessTools.createJavaProcessBuilder("-Xlog:classinit=off",
+                                                   "-Xverify:all",
+                                                   "-Xmx64m",
+                                                   "BadMap50");
+        out = new OutputAnalyzer(pb.start());
+        out.shouldNotContain("[classinit]");
+        out.shouldNotContain("Fail over class verification to old verifier for: BadMap50");
+
     }
     public static class InnerClass {
         public static void main(String[] args) throws Exception {