langtools/test/tools/javac/annotations/typeAnnotations/classfile/T8008762.java
changeset 30730 d3ce7619db2c
parent 21043 3b000be15694
child 30846 2b3f379840f0
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2009, 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.
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8008762
    26  * @bug 8008762
    27  * @summary Type annotation on inner class in anonymous class
    27  * @summary Type annotation on inner class in anonymous class
    28  *          shows up as regular annotation
    28  *          shows up as regular annotation
       
    29  * @modules jdk.compiler/com.sun.tools.classfile
    29  */
    30  */
    30 import java.lang.annotation.*;
    31 import java.lang.annotation.*;
    31 import static java.lang.annotation.RetentionPolicy.*;
    32 import static java.lang.annotation.RetentionPolicy.*;
    32 import static java.lang.annotation.ElementType.*;
    33 import static java.lang.annotation.ElementType.*;
    33 
    34