test/jdk/java/util/AbstractList/CheckForComodification.java
changeset 48541 946e34c2dec9
parent 47216 71c04702a3d5
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
    28  * @author  Josh Bloch
    28  * @author  Josh Bloch
    29  *
    29  *
    30  * @ignore Bug fix temporarily removed as it uncovered other bugs (4992226)
    30  * @ignore Bug fix temporarily removed as it uncovered other bugs (4992226)
    31  */
    31  */
    32 
    32 
    33 import java.util.*;
    33 import java.util.ArrayList;
       
    34 import java.util.ConcurrentModificationException;
       
    35 import java.util.List;
    34 
    36 
    35 public class CheckForComodification {
    37 public class CheckForComodification {
    36     private static final int LENGTH = 10;
    38     private static final int LENGTH = 10;
    37     public static void main(String[] args) throws Exception {
    39     public static void main(String[] args) throws Exception {
    38         List<Integer> list = new ArrayList<>();
    40         List<Integer> list = new ArrayList<>();