--- a/jdk/test/tools/jar/multiRelease/ApiValidatorTest.java Wed Jul 19 14:48:53 2017 -0700
+++ b/jdk/test/tools/jar/multiRelease/ApiValidatorTest.java Tue Jul 18 15:19:23 2017 -0700
@@ -28,8 +28,7 @@
* @modules java.base/jdk.internal.misc
* jdk.compiler
* jdk.jartool
- * @build jdk.test.lib.util.FileUtils
- * jdk.test.lib.Utils
+ * @build jdk.test.lib.Utils
* jdk.test.lib.Asserts
* jdk.test.lib.JDKToolFinder
* jdk.test.lib.JDKToolLauncher
@@ -40,13 +39,10 @@
*/
import jdk.test.lib.process.OutputAnalyzer;
-import jdk.test.lib.util.FileUtils;
-import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
-import java.io.IOException;
import java.lang.reflect.Method;
import java.nio.file.Files;
import java.nio.file.Path;
@@ -68,12 +64,6 @@
classes = root.resolve("classes");
}
- @AfterMethod
- void testCleanup() throws IOException {
- FileUtils.deleteFileTreeWithRetry(root);
- }
-
-
@Test(dataProvider = "signatureChange")
public void changeMethodSignature(String sigBase, String sigV10,
boolean isAcceptable) throws Throwable {