8177357: tools/jar/multiRelease/ApiValidatorTest.java failed due to "Exception java.nio.file.DirectoryNotEmptyException"
Reviewed-by: psandoz
This commit is contained in:
parent
bae3fb9142
commit
d9f0efb28f
@ -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 @@ public class ApiValidatorTest extends MRTestBase {
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user