# HG changeset patch # User hseigel # Date 1540556632 14400 # Node ID fbfcdc5bf694e0f64a910505d626d3694ae0885d # Parent 9e29d838851476d0cbf3ca5a27de620231e638f2 8192864: defmeth tests can hide failures Summary: Add a call to addFailureCount() to record previously hidden failures. Reviewed-by: lfoltan, coleenp diff -r 9e29d8388514 -r fbfcdc5bf694 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()); }