7 * under the terms of the GNU General Public License version 2 only, as
8 * published by the Free Software Foundation.
9 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * version 2 for more details (a copy is included in the LICENSE file that
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 */
24
25 /**
26 * @test
27 * @bug 8211138 8362885
28 * @summary Missing Flag enum constants
29 * @library /tools/javac/lib
30 * @modules jdk.compiler/com.sun.tools.javac.code
31 * @compile FlagsTest.java
32 * @run main/manual FlagsTest
33 */
34 import com.sun.tools.javac.code.Flags;
35 import com.sun.tools.javac.code.Flags.FlagTarget;
36 import com.sun.tools.javac.code.Flags.NotFlag;
37 import com.sun.tools.javac.code.Flags.Use;
38 import java.lang.reflect.Field;
39 import java.util.ArrayList;
40 import java.util.HashMap;
41 import java.util.List;
42 import java.util.Map;
43
44 public class FlagsTest {
45
46 private static final int U2_SIZE = 16;
47
|
7 * under the terms of the GNU General Public License version 2 only, as
8 * published by the Free Software Foundation.
9 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * version 2 for more details (a copy is included in the LICENSE file that
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 */
24
25 /**
26 * @test
27 * @bug 8211138 8215246 8362885
28 * @summary Missing Flag enum constants
29 * @library /tools/javac/lib
30 * @modules jdk.compiler/com.sun.tools.javac.code
31 * @compile FlagsTest.java
32 * @run main/manual FlagsTest
33 */
34 import com.sun.tools.javac.code.Flags;
35 import com.sun.tools.javac.code.Flags.FlagTarget;
36 import com.sun.tools.javac.code.Flags.NotFlag;
37 import com.sun.tools.javac.code.Flags.Use;
38 import java.lang.reflect.Field;
39 import java.util.ArrayList;
40 import java.util.HashMap;
41 import java.util.List;
42 import java.util.Map;
43
44 public class FlagsTest {
45
46 private static final int U2_SIZE = 16;
47
|