8192864: defmeth tests can hide failures
authorhseigel
Fri, 26 Oct 2018 08:23:52 -0400
changeset 52301 fbfcdc5bf694
parent 52300 9e29d8388514
child 52302 912b79d983d9
8192864: defmeth tests can hide failures Summary: Add a call to addFailureCount() to record previously hidden failures. Reviewed-by: lfoltan, coleenp
test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/shared/DefMethTest.java
--- a/test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/shared/DefMethTest.java	Thu Oct 25 21:40:17 2018 -0700
+++ b/test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/shared/DefMethTest.java	Fri Oct 26 08:23:52 2018 -0400
@@ -1,5 +1,5 @@
 /*
-1;2c * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -332,7 +332,7 @@
                                 e.printStackTrace();
                             }
                         }
-
+                        addFailureCount(1);
                         if (failFast) {
                             throw new TestFailure(e.getCause());
                         }