test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/shared/DefMethTest.java
changeset 52301 fbfcdc5bf694
parent 50243 4fac3c99487d
equal deleted inserted replaced
52300:9e29d8388514 52301:fbfcdc5bf694
     1 /*
     1 /*
     2 1;2c * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   330                         } else {
   330                         } else {
   331                             if (Constants.PRINT_STACK_TRACE) {
   331                             if (Constants.PRINT_STACK_TRACE) {
   332                                 e.printStackTrace();
   332                                 e.printStackTrace();
   333                             }
   333                             }
   334                         }
   334                         }
   335 
   335                         addFailureCount(1);
   336                         if (failFast) {
   336                         if (failFast) {
   337                             throw new TestFailure(e.getCause());
   337                             throw new TestFailure(e.getCause());
   338                         }
   338                         }
   339                     }
   339                     }
   340                 }
   340                 }