jdk/test/sun/security/provider/SeedGenerator/Priority_Inversion.java
changeset 30046 cf2c86e1819e
parent 5506 202f599c92aa
equal deleted inserted replaced
30045:719de2e9d356 30046:cf2c86e1819e
    27  * @summary Priority inversion prevents call to the genSeed method from
    27  * @summary Priority inversion prevents call to the genSeed method from
    28  *      returning
    28  *      returning
    29  *
    29  *
    30  * if the test returns, then it passed.
    30  * if the test returns, then it passed.
    31  * if the test never returns (hangs forever), then it failed.
    31  * if the test never returns (hangs forever), then it failed.
       
    32  * @key randomness
    32  */
    33  */
    33 
    34 
    34 import java.security.SecureRandom;
    35 import java.security.SecureRandom;
    35 
    36 
    36 public class Priority_Inversion {
    37 public class Priority_Inversion {