test/jdk/java/util/Collections/ViewSynch.java
changeset 48541 946e34c2dec9
parent 47730 c7b5b1ce8145
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
    27  * @summary Collection-views of submap-views of synchronized-views of
    27  * @summary Collection-views of submap-views of synchronized-views of
    28  *          SortedMap objects do not synchronize on the correct object.
    28  *          SortedMap objects do not synchronize on the correct object.
    29  *          (Got that?)
    29  *          (Got that?)
    30  */
    30  */
    31 
    31 
    32 import java.util.*;
    32 import java.util.Collection;
       
    33 import java.util.Collections;
       
    34 import java.util.Map;
       
    35 import java.util.SortedMap;
       
    36 import java.util.TreeMap;
    33 
    37 
    34 public class ViewSynch {
    38 public class ViewSynch {
    35     static final Integer ZERO = new Integer(0);
    39     static final Integer ZERO = new Integer(0);
    36     static final Int INT_ZERO = new Int(0);
    40     static final Int INT_ZERO = new Int(0);
    37     static final Int INT_ONE = new Int(1);
    41     static final Int INT_ONE = new Int(1);