test/jdk/java/util/Collections/WrappedNull.java
changeset 48541 946e34c2dec9
parent 47730 c7b5b1ce8145
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
    26  * @bug 4189641
    26  * @bug 4189641
    27  * @summary Wrapping a null collection/array should blow up sooner
    27  * @summary Wrapping a null collection/array should blow up sooner
    28  *          rather than later
    28  *          rather than later
    29  */
    29  */
    30 
    30 
    31 import java.util.*;
    31 import java.util.Arrays;
       
    32 import java.util.Collection;
       
    33 import java.util.Collections;
       
    34 import java.util.List;
       
    35 import java.util.Map;
       
    36 import java.util.Set;
       
    37 import java.util.SortedMap;
       
    38 import java.util.SortedSet;
       
    39 import java.util.TreeMap;
       
    40 import java.util.TreeSet;
    32 
    41 
    33 public class WrappedNull {
    42 public class WrappedNull {
    34     public static void main(String[] args) throws Exception {
    43     public static void main(String[] args) throws Exception {
    35         boolean testSucceeded = false;
    44         boolean testSucceeded = false;
    36         try {
    45         try {