jdk/test/java/lang/annotation/AnnotationType/AnnotationTypeDeadlockTest.java
changeset 33402 1156d495a525
parent 19579 ed6afb248908
equal deleted inserted replaced
33373:4a0312f2894b 33402:1156d495a525
     1 /*
     1 /*
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 7122142
    26  * @bug 7122142
    27  * @summary Test deadlock situation when recursive annotations are parsed
    27  * @summary Test deadlock situation when recursive annotations are parsed
       
    28  * @modules java.management
    28  */
    29  */
    29 
    30 
    30 import java.lang.annotation.Retention;
    31 import java.lang.annotation.Retention;
    31 import java.lang.management.ManagementFactory;
    32 import java.lang.management.ManagementFactory;
    32 import java.lang.management.ThreadInfo;
    33 import java.lang.management.ThreadInfo;