langtools/test/tools/javac/classfiles/InnerClasses/T8068517.java
changeset 36526 3b41f1c69604
parent 30730 d3ce7619db2c
child 36778 e04318f39f92
equal deleted inserted replaced
36525:4caf88912b7f 36526:3b41f1c69604
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, 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.
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /** @test
    24 /* @test
    25  *  @bug 8034854
    25  * @bug 8034854
    26  *  @summary Verify that nested enums have correct abstract flag in the InnerClasses attribute.
    26  * @summary Verify that nested enums have correct abstract flag in the InnerClasses attribute.
    27  *  @library /tools/lib
    27  * @library /tools/lib
    28  *  @modules jdk.compiler/com.sun.tools.javac.api
    28  * @modules jdk.compiler/com.sun.tools.javac.api
    29  *           jdk.compiler/com.sun.tools.javac.file
    29  *          jdk.compiler/com.sun.tools.javac.file
    30  *           jdk.compiler/com.sun.tools.javac.main
    30  *          jdk.compiler/com.sun.tools.javac.main
    31  *           jdk.compiler/com.sun.tools.javac.util
    31  *          jdk.compiler/com.sun.tools.javac.util
    32  *  @build ToolBox T8068517
    32  *          jdk.jdeps/com.sun.tools.javap
    33  *  @run main T8068517
    33  * @build ToolBox T8068517
       
    34  * @run main T8068517
    34  */
    35  */
    35 
    36 
    36 import com.sun.tools.javac.util.Assert;
    37 import com.sun.tools.javac.util.Assert;
    37 import java.util.Arrays;
    38 import java.util.Arrays;
    38 import javax.tools.JavaFileManager;
    39 import javax.tools.JavaFileManager;