test/jdk/java/lang/invoke/VarHandles/VarHandleBaseTest.java
changeset 49788 5375d426822a
parent 47263 65640af28197
equal deleted inserted replaced
49787:99b627637911 49788:5375d426822a
    66         checkWithThrowable(IndexOutOfBoundsException.class, null, r);
    66         checkWithThrowable(IndexOutOfBoundsException.class, null, r);
    67     }
    67     }
    68 
    68 
    69     static void checkIOOBE(Object message, ThrowingRunnable r) {
    69     static void checkIOOBE(Object message, ThrowingRunnable r) {
    70         checkWithThrowable(IndexOutOfBoundsException.class, message, r);
    70         checkWithThrowable(IndexOutOfBoundsException.class, message, r);
       
    71     }
       
    72 
       
    73     static void checkASE(ThrowingRunnable r) {
       
    74         checkWithThrowable(ArrayStoreException.class, null, r);
       
    75     }
       
    76 
       
    77     static void checkASE(Object message, ThrowingRunnable r) {
       
    78         checkWithThrowable(ArrayStoreException.class, message, r);
    71     }
    79     }
    72 
    80 
    73     static void checkISE(ThrowingRunnable r) {
    81     static void checkISE(ThrowingRunnable r) {
    74         checkWithThrowable(IllegalStateException.class, null, r);
    82         checkWithThrowable(IllegalStateException.class, null, r);
    75     }
    83     }