8281507: Two javac tests have bad jtreg @clean tags

Reviewed-by: darcy
This commit is contained in:
Aleksey Shipilev 2022-02-28 07:35:19 +00:00
parent 630ad1acb2
commit 86723d4892
2 changed files with 6 additions and 6 deletions
test/langtools/tools/javac

@ -27,7 +27,7 @@
* @summary NULLCHK is emitted as Object.getClass
* @compile -source 7 -target 7 TestSyntheticNullChecks.java
* @run main TestSyntheticNullChecks 7
* @clean TestSyntheticNullChecks*
* @clean *
* @compile TestSyntheticNullChecks.java
* @run main TestSyntheticNullChecks 9
*/

@ -34,23 +34,23 @@ import java.io.File;
* @summary Test that StringConcat is working for JDK >= 9
* @modules jdk.jdeps/com.sun.tools.classfile
*
* @clean TestIndyStringConcat*
* @clean *
* @compile -source 7 -target 7 TestIndyStringConcat.java
* @run main TestIndyStringConcat false
*
* @clean TestIndyStringConcat*
* @clean *
* @compile -source 8 -target 8 TestIndyStringConcat.java
* @run main TestIndyStringConcat false
*
* @clean TestIndyStringConcat*
* @clean *
* @compile -XDstringConcat=inline -source 9 -target 9 TestIndyStringConcat.java
* @run main TestIndyStringConcat false
*
* @clean TestIndyStringConcat*
* @clean *
* @compile -XDstringConcat=indy -source 9 -target 9 TestIndyStringConcat.java
* @run main TestIndyStringConcat true
*
* @clean TestIndyStringConcat*
* @clean *
* @compile -XDstringConcat=indyWithConstants -source 9 -target 9 TestIndyStringConcat.java
* @run main TestIndyStringConcat true
*/