hotspot/test/compiler/6636138/Test1.java
changeset 3799 6eddf8400cbc
parent 2864 1262819e8925
child 5547 f4b087cbb361
equal deleted inserted replaced
3798:a8d3bacb68d7 3799:6eddf8400cbc
    43     public static void verify(int src[], int[] ref) {
    43     public static void verify(int src[], int[] ref) {
    44         // check whether src and ref are equal
    44         // check whether src and ref are equal
    45         for (int i = 0; i < src.length; i++) {
    45         for (int i = 0; i < src.length; i++) {
    46             if (src[i] != ref[i]) {
    46             if (src[i] != ref[i]) {
    47                 System.out.println("Error: src and ref don't match at " + i);
    47                 System.out.println("Error: src and ref don't match at " + i);
    48                 System.exit(-1);
    48                 System.exit(97);
    49             }
    49             }
    50         }
    50         }
    51     }
    51     }
    52 
    52 
    53     public static void test() {
    53     public static void test() {