< prev index next >
jdk/test/tools/jar/ReleaseBeforeFiles.java
Print this page
rev 17249 : 8180887: move FileUtils to top level testlibrary
Reviewed-by: duke
*** 1,7 ****
/*
! * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 25,37 ****
* @test
* @bug 8167237
* @summary test that both old style command line options and new gnu style
* command line options work with the --release option whether or
* not the --release option is preceded by a file name.
! * @library /lib/testlibrary
* @modules jdk.jartool/sun.tools.jar
- * @build jdk.testlibrary.FileUtils
* @run testng ReleaseBeforeFiles
*/
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
--- 25,36 ----
* @test
* @bug 8167237
* @summary test that both old style command line options and new gnu style
* command line options work with the --release option whether or
* not the --release option is preceded by a file name.
! * @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @run testng ReleaseBeforeFiles
*/
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
*** 44,54 ****
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.stream.Stream;
! import jdk.testlibrary.FileUtils;
public class ReleaseBeforeFiles {
private Runnable onCompletion;
@BeforeMethod
--- 43,53 ----
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.stream.Stream;
! import jdk.test.lib.util.FileUtils;
public class ReleaseBeforeFiles {
private Runnable onCompletion;
@BeforeMethod
< prev index next >