test/jdk/java/util/Hashtable/IllegalLoadFactor.java
changeset 48541 946e34c2dec9
parent 47730 c7b5b1ce8145
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
    24 /* @test
    24 /* @test
    25    @bug 4093817 4189594
    25    @bug 4093817 4189594
    26    @summary Test for an illegalargumentexception on loadFactor
    26    @summary Test for an illegalargumentexception on loadFactor
    27 */
    27 */
    28 
    28 
    29 import java.util.*;
    29 import java.util.HashMap;
       
    30 import java.util.HashSet;
       
    31 import java.util.Hashtable;
       
    32 import java.util.Map;
       
    33 import java.util.Set;
       
    34 import java.util.WeakHashMap;
    30 
    35 
    31 /**
    36 /**
    32  * This class tests to see if creating a hash table with an
    37  * This class tests to see if creating a hash table with an
    33  * illegal value of loadFactor results in an IllegalArgumentException
    38  * illegal value of loadFactor results in an IllegalArgumentException
    34  */
    39  */