test/hotspot/jtreg/compiler/loopopts/Test7052494.java
author jiangli
Fri, 02 Nov 2018 19:30:31 -0400
changeset 52397 1322829d1501
parent 47216 71c04702a3d5
permissions -rw-r--r--
8209564: runtime/appcds/CDSandJFR.java timeout on tier6 on sparc Summary: Set timeout 500 in CDSandJFR.java Reviewed-by: dcubed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
     1
/*
24340
30d481fc4e30 8042214: add @ignore tag to all excluded jtreg tests in test/compiler
iignatyev
parents: 10030
diff changeset
     2
 * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
     4
 *
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
     7
 * published by the Free Software Foundation.
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
     8
 *
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    13
 * accompanied this code).
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    14
 *
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    18
 *
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    21
 * questions.
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    22
 */
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    23
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    24
/**
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    25
 * @test
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    26
 * @bug 7052494
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    27
 * @summary Eclipse test fails on JDK 7 b142
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    28
 *
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    29
 * @run main/othervm -Xbatch compiler.loopopts.Test7052494
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    30
 */
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    31
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    32
package compiler.loopopts;
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    33
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    34
public class Test7052494 {
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    35
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    36
    static int test1(int i, int limit) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    37
        int result = 0;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    38
        while (i++ != 0) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    39
            if (result >= limit)
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    40
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    41
            result = i * 2;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    42
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    43
        return result;
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    44
    }
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    45
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    46
    static int test2(int i, int limit) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    47
        int result = 0;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    48
        while (i-- != 0) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    49
            if (result <= limit)
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    50
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    51
            result = i * 2;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    52
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    53
        return result;
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    54
    }
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    55
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    56
    static void test3(int i, int limit, int arr[]) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    57
        while (i++ != 0) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    58
            if (arr[i - 1] >= limit)
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    59
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    60
            arr[i] = i * 2;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    61
        }
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    62
    }
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    63
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    64
    static void test4(int i, int limit, int arr[]) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    65
        while (i-- != 0) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    66
            if (arr[arr.length + i + 1] <= limit)
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    67
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    68
            arr[arr.length + i] = i * 2;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    69
        }
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    70
    }
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    71
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    72
    // Empty loop rolls through MAXINT if i > 0
10030
5f7e29996174 7067288: compiler regression test Test7052494 timeouts with client VM
kvn
parents: 10005
diff changeset
    73
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    74
    static final int limit5 = Integer.MIN_VALUE + 10000;
10030
5f7e29996174 7067288: compiler regression test Test7052494 timeouts with client VM
kvn
parents: 10005
diff changeset
    75
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    76
    static int test5(int i) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    77
        int result = 0;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    78
        while (i++ != limit5) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    79
            result = i * 2;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    80
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    81
        return result;
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    82
    }
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    83
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    84
    // Empty loop rolls through MININT if i < 0
10030
5f7e29996174 7067288: compiler regression test Test7052494 timeouts with client VM
kvn
parents: 10005
diff changeset
    85
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    86
    static final int limit6 = Integer.MAX_VALUE - 10000;
10030
5f7e29996174 7067288: compiler regression test Test7052494 timeouts with client VM
kvn
parents: 10005
diff changeset
    87
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    88
    static int test6(int i) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    89
        int result = 0;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    90
        while (i-- != limit6) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    91
            result = i * 2;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    92
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    93
        return result;
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    94
    }
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
    95
40059
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    96
    public static void main(String[] args) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    97
        boolean failed = false;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    98
        int[] arr = new int[8];
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
    99
        int[] ar3 = {0, 0, 4, 6, 8, 10, 0, 0};
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   100
        int[] ar4 = {0, 0, 0, -10, -8, -6, -4, 0};
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   101
        System.out.println("test1");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   102
        for (int i = 0; i < 11000; i++) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   103
            int k = test1(1, 10);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   104
            if (k != 10) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   105
                System.out.println("FAILED: " + k + " != 10");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   106
                failed = true;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   107
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   108
            }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   109
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   110
        System.out.println("test2");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   111
        for (int i = 0; i < 11000; i++) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   112
            int k = test2(-1, -10);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   113
            if (k != -10) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   114
                System.out.println("FAILED: " + k + " != -10");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   115
                failed = true;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   116
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   117
            }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   118
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   119
        System.out.println("test3");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   120
        for (int i = 0; i < 11000; i++) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   121
            java.util.Arrays.fill(arr, 0);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   122
            test3(1, 10, arr);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   123
            if (!java.util.Arrays.equals(arr, ar3)) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   124
                System.out.println("FAILED: arr = { " + arr[0] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   125
                        + arr[1] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   126
                        + arr[2] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   127
                        + arr[3] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   128
                        + arr[4] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   129
                        + arr[5] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   130
                        + arr[6] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   131
                        + arr[7] + " }");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   132
                failed = true;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   133
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   134
            }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   135
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   136
        System.out.println("test4");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   137
        for (int i = 0; i < 11000; i++) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   138
            java.util.Arrays.fill(arr, 0);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   139
            test4(-1, -10, arr);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   140
            if (!java.util.Arrays.equals(arr, ar4)) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   141
                System.out.println("FAILED: arr = { " + arr[0] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   142
                        + arr[1] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   143
                        + arr[2] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   144
                        + arr[3] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   145
                        + arr[4] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   146
                        + arr[5] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   147
                        + arr[6] + ", "
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   148
                        + arr[7] + " }");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   149
                failed = true;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   150
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   151
            }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   152
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   153
        System.out.println("test5");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   154
        for (int i = 0; i < 11000; i++) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   155
            int k = test5(limit6);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   156
            if (k != limit5 * 2) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   157
                System.out.println("FAILED: " + k + " != " + limit5 * 2);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   158
                failed = true;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   159
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   160
            }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   161
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   162
        System.out.println("test6");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   163
        for (int i = 0; i < 11000; i++) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   164
            int k = test6(limit5);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   165
            if (k != limit6 * 2) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   166
                System.out.println("FAILED: " + k + " != " + limit6 * 2);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   167
                failed = true;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   168
                break;
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   169
            }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   170
        }
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   171
        System.out.println("finish");
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   172
        if (failed) {
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   173
            System.exit(97);
c2304140ed64 8132919: Put compiler tests in packages
tpivovarova
parents: 28646
diff changeset
   174
        }
10005
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
   175
    }
ce4ea81a1329 7052494: Eclipse test fails on JDK 7 b142
kvn
parents:
diff changeset
   176
}