equal
deleted
inserted
replaced
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. |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8044537 |
26 * @bug 8044537 |
27 * @summary Checking ACC_SYNTHETIC flag is generated for package-info. |
27 * @summary Checking ACC_SYNTHETIC flag is generated for package-info. |
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 |
|
30 * jdk.compiler/com.sun.tools.javac.main |
29 * jdk.compiler/com.sun.tools.javac.main |
31 * jdk.jdeps/com.sun.tools.classfile |
30 * jdk.jdeps/com.sun.tools.classfile |
32 * jdk.jdeps/com.sun.tools.javap |
|
33 * @library /tools/lib /tools/javac/lib ../lib |
31 * @library /tools/lib /tools/javac/lib ../lib |
34 * @build TestBase TestResult InMemoryFileManager ToolBox |
32 * @build toolbox.ToolBox InMemoryFileManager TestResult TestBase |
35 * @build SyntheticTestDriver ExpectedClass ExpectedClasses |
33 * @build SyntheticTestDriver ExpectedClass ExpectedClasses |
36 * @compile -Xpkginfo:always package_info_test/package-info.java |
34 * @compile -Xpkginfo:always package_info_test/package-info.java |
37 * @run main SyntheticTestDriver package_info_test.package-info 1 |
35 * @run main SyntheticTestDriver package_info_test.package-info 1 |
38 */ |
36 */ |
39 |
37 |