test/langtools/tools/javac/ClassFileModifiers/ClassModifiers.java
changeset 49518 d0ff431a596e
parent 47216 71c04702a3d5
equal deleted inserted replaced
49517:a387ee36e5e0 49518:d0ff431a596e
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2018, 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.
    26  * @bug 4109894 4239646 4785453
    26  * @bug 4109894 4239646 4785453
    27  * @summary Verify that class modifiers bits written into class
    27  * @summary Verify that class modifiers bits written into class
    28  * file are correct, including those within InnerClasses attributes.
    28  * file are correct, including those within InnerClasses attributes.
    29  * @author John Rose (jrose). Entered as a regression test by Bill Maddox (maddox).
    29  * @author John Rose (jrose). Entered as a regression test by Bill Maddox (maddox).
    30  *
    30  *
    31  * @compile/ref=ClassModifiers.out --debug:dumpmodifiers=ci ClassModifiers.java
    31  * @compile/ref=ClassModifiers.out --debug=dumpmodifiers=ci ClassModifiers.java
    32  *
    32  *
    33  */
    33  */
    34 
    34 
    35 class T {
    35 class T {
    36  //all "protected" type members are transformed to "public"
    36  //all "protected" type members are transformed to "public"