Skip to content

Commit 8f8531c

Browse files
Satyen SubramaniamPaul Hohensee
authored andcommitted
8285756: clean up use of bad arguments for @clean in langtools tests
Reviewed-by: phh Backport-of: 3312d8c620003125a88540fd5b2bacff34732ade
1 parent 24cade6 commit 8f8531c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

langtools/test/tools/javac/6257443/T6257443.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @compile package-info.java
3030
* @run main/othervm T6257443 -yes foo/package-info.class
3131
*
32-
* @clean foo.package-info
32+
* @clean foo.*
3333
*
3434
* @compile -XD-printflat package-info.java
3535
* @run main/othervm T6257443 -no foo/package-info.class

langtools/test/tools/javac/warnings/suppress/PackageInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
* @test
2626
* @bug 8021112
2727
* @summary Verify that deprecated warnings are printed correctly for package-info.java
28-
* @clean pack.package-info pack.DeprecatedClass
28+
* @clean pack.*
2929
* @compile/ref=PackageInfo.out -XDrawDiagnostics -Xlint:deprecation pack/package-info.java pack/DeprecatedClass.java
3030
*/

0 commit comments

Comments
 (0)