< prev index next >
test/jdk/java/util/jar/JarFile/JarBacktickManifest.java
Print this page
*** 22,43 ****
*/
/**
* @test
* @bug 8186334
! * @library /lib/testlibrary/java/util/jar
! * @build JarBuilder
* @run testng JarBacktickManifest
* @summary Make sure scanning manifest doesn't throw AIOOBE on certain strings
* containing backticks.
*/
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.jar.JarFile;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
--- 22,45 ----
*/
/**
* @test
* @bug 8186334
! * @library /test/lib
! * @build jdk.test.lib.util.JarBuilder
* @run testng JarBacktickManifest
* @summary Make sure scanning manifest doesn't throw AIOOBE on certain strings
* containing backticks.
*/
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.jar.JarFile;
+ import jdk.test.lib.util.JarBuilder;
+
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
< prev index next >