Searched refs:Utils (Results 1 - 25 of 527) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/tools/pack200/
H A DTestNormal.java39 String testdir = Utils.TEST_CLS_DIR.getAbsolutePath();
42 String jarCmd = Utils.getJarCmd();
43 String packCmd = Utils.getPack200Cmd();
46 Utils.runExec(jarCmd, "cf", "original.jar", "-C", testdir, ".");
49 Utils.runExec(packCmd, "-r", "repacked.jar", "original.jar");
52 Utils.runExec(jarCmd, "cnf", "normalized.jar", "-C", testdir, ".");
55 Utils.doCompareBitWise(new File("repacked.jar"),
58 Utils.cleanup();
H A DUnpackerMemoryTest.java28 * @compile -XDignore.symbol.file Utils.java UnpackerMemoryTest.java
46 String jarFileName = Utils.baseName(packFile, Utils.PACK_FILE_EXT)
47 + Utils.JAR_FILE_EXT;
53 Utils.jar("cvf", jarFileName, tFile.getName());
55 Utils.pack(jarFile, packFile);
57 Utils.close(ps);
59 Utils.close(jarFile);
65 File packFile = new File(name + Utils.PACK_FILE_EXT);
78 Utils
[all...]
H A DRepackTest.java31 * @compile -XDignore.symbol.file Utils.java RepackTest.java
39 Utils.cleanup();
53 Utils.copyFile(Utils.getGoldenJar(), testFile);
57 cmdsList.add(Utils.getPack200Cmd());
60 Utils.runExec(cmdsList);
65 cmdsList.add(Utils.getPack200Cmd());
69 Utils.runExec(cmdsList);
H A DModuleAttributes.java32 * @compile -XDignore.symbol.file Utils.java ModuleAttributes.java
42 File file = Utils.createRtJar(".*module-info\\.class");
43 Utils.testWithRepack(file,
46 Utils.cleanup();
H A DInstructionTests.java31 * @compile -XDignore.symbol.file Utils.java InstructionTests.java
38 Utils.cleanup();
47 String javaFileName = fname + Utils.JAVA_FILE_EXT;
60 Utils.createFile(javaFile, scratch);
63 Utils.compiler("-g", javaFile.getName());
69 Utils.createFile(propsFile, scratch);
71 File testjarFile = new File(cwd, "test" + Utils.JAR_FILE_EXT);
72 Utils.jar("cvf", testjarFile.getName(), ".");
74 Utils.testWithRepack(testjarFile, "--config-file=" + propsFile.getName());
H A DBandIntegrity.java27 * @compile -XDignore.symbol.file Utils.java BandIntegrity.java
45 Utils.jar("cvf", testFile.getName(),
46 "-C", Utils.TEST_CLS_DIR.getAbsolutePath(),
56 Utils.createFile(configFile, scratch);
58 Utils.repack(testFile, outFile, true,
60 Utils.cleanup();
H A DAttributeTests.java31 * @compile -XDignore.symbol.file Utils.java AttributeTests.java
40 Utils.cleanup();
52 String javaFileName = fname + Utils.JAVA_FILE_EXT;
53 String javaClassName = fname + Utils.CLASS_FILE_EXT;
59 Utils.createFile(javaFile, scratch);
61 Utils.compiler(javaFile.getName(), "-parameters");
64 File testjarFile = new File(cwd, "test" + Utils.JAR_FILE_EXT);
65 Utils.jar("cvf", testjarFile.getName(), javaClassName);
67 Utils.testWithRepack(testjarFile, "--unknown-attribute=error");
73 String pack200Cmd = Utils
[all...]
H A DPack200Test.java30 * @compile -XDignore.symbol.file Utils.java Pack200Test.java
82 File packFile = new File(in.getName() + Utils.PACK_FILE_EXT);
86 Utils.pack(jarFile, packFile);
97 Utils.unpackj(packFile, javaUnpackerStream);
102 Utils.doCompareVerify(in.getAbsoluteFile(), javaUnpackedJar);
109 Utils.unpackn(packFile, nativeUnpackerStream);
116 Utils.doCompareBitWise(javaUnpackedJar, nativeUnpackedJar);
121 Utils.close(nativeUnpackerStream);
122 Utils.close(javaUnpackerStream);
123 Utils
[all...]
H A DCommandLineTests.java67 javaCmd = Utils.IsWindows
71 javacCmd = Utils.IsWindows
84 Utils.recursiveCopy(Utils.JavaSDK, EXP_SDK);
89 Utils.recursiveDelete(EXP_SDK);
90 Utils.cleanup();
114 Utils.close(ps);
115 Utils.close(fos);
128 Utils.copyFile(f, bakFile);
130 Utils
[all...]
/openjdk10/langtools/test/tools/javac/file/zip/
H A DT6865530.java48 Utils.createJavaFile(fooJava);
49 Utils.compile("-doe", "-verbose", fooJava.getName());
53 Utils.jarTool.run(jarArgs);
54 Utils.cat(badFile, fooJava, testJar);
57 Utils.createJavaFile(barJava);
59 if (!Utils.compile("-doe", "-verbose", "-cp", badFile.getAbsolutePath(), "Bar.java")) {
63 Utils.deleteFile(badFile);
64 Utils.deleteFile(testJar);
/openjdk10/jdk/test/tools/pack200/typeannos/
H A DTestTypeAnnotations.java28 * @compile -XDignore.symbol.file ../Utils.java
40 Utils.jar("cvf", testFile.getName(),
41 "-C", Utils.TEST_CLS_DIR.getAbsolutePath(),
43 Utils.testWithRepack(testFile, "--unknown-attribute=error");
44 Utils.cleanup();
/openjdk10/jdk/test/javax/management/security/
H A DSimpleListener.java40 Utils.debug(Utils.DEBUG_STANDARD,
65 Utils.debug(Utils.DEBUG_STANDARD,
72 Utils.debug(Utils.DEBUG_STANDARD,
93 Utils.debug(Utils.DEBUG_STANDARD,
100 Utils.debug(Utils
[all...]
/openjdk10/jdk/test/java/util/PluggableLocale/providersrc/
H A DCurrencyNameProviderImpl.java32 import com.foobar.Utils;
45 if (!Utils.supportsLocale(Arrays.asList(avail), locale)) {
50 if (Utils.supportsLocale(avail[0], locale)) {
52 } else if (Utils.supportsLocale(avail[1], locale)) {
54 } else if (Utils.supportsLocale(avail[2], locale)) {
56 } else if (Utils.supportsLocale(avail[3], locale)) {
65 if (!Utils.supportsLocale(Arrays.asList(avail), locale)) {
70 if (Utils.supportsLocale(avail[0], locale)) {
72 } else if (Utils.supportsLocale(avail[1], locale)) {
74 } else if (Utils
[all...]
H A DCurrencyNameProviderImpl2.java32 import com.foobar.Utils;
43 if (!Utils.supportsLocale(Arrays.asList(avail), locale)) {
48 if (Utils.supportsLocale(avail[0], locale)) {
50 } else if (Utils.supportsLocale(avail[1], locale)) {
59 if (!Utils.supportsLocale(Arrays.asList(avail), locale)) {
64 if (Utils.supportsLocale(avail[0], locale)) {
66 } else if (Utils.supportsLocale(avail[1], locale)) {
/openjdk10/jdk/test/java/lang/StackTraceElement/lib/m1/com/app/
H A DMain.java30 StackFrame frame = Utils.makeStackFrame(Main.class, "main", "Main.java");
31 Utils.checkFrame("app", frame, caller());
/openjdk10/hotspot/test/compiler/codecache/stress/
H A DCodeCacheStressRunner.java27 import jdk.test.lib.Utils;
39 long timeout = Utils.adjustTimeout(Utils.DEFAULT_TEST_TIMEOUT);
/openjdk10/jdk/test/java/lang/invoke/common/test/java/lang/invoke/lib/
H A DCodeCacheOverflowProcessor.java26 import jdk.testlibrary.Utils;
39 * {@code jdk.testlibrary.Utils.filterException}.
70 public static Throwable runMHTest(Utils.ThrowingRunnable test) throws Throwable {
71 Throwable t = Utils.filterException(test::run,
/openjdk10/jdk/test/java/lang/instrument/PremainClass/
H A DZeroArgPremainAgentTest.java26 import jdk.testlibrary.Utils;
48 Utils.addTestJavaOpts(testArgs.split("\\s+")));
49 System.out.println("testjvm.cmd:" + Utils.getCommandLine(pb));
H A DNoPremainAgentTest.java26 import jdk.testlibrary.Utils;
48 Utils.addTestJavaOpts(testArgs.split("\\s+")));
49 System.out.println("testjvm.cmd:" + Utils.getCommandLine(pb));
/openjdk10/jdk/test/com/sun/jdi/
H A DBadAgentPath.java26 import jdk.testlibrary.Utils;
H A DDoubleAgentTest.java26 import jdk.testlibrary.Utils;
45 int port = Utils.getFreePort();
/openjdk10/jdk/test/sun/security/tools/jarsigner/
H A DUtils.java30 public class Utils { class
/openjdk10/hotspot/test/gc/arguments/
H A DTestShrinkHeapInSteps.java37 import jdk.test.lib.Utils;
42 Arrays.asList(Utils.getFilteredTestJavaOpts("-XX:[^ ]*HeapFreeRatio","-XX:\\+ExplicitGCInvokesConcurrent"))
/openjdk10/jdk/test/java/lang/StackTraceElement/
H A DWithClassLoaderName.java45 import com.app.Utils;
61 Utils.verify(WithClassLoaderName.class, "app", "main", SRC_FILENAME);
98 Utils.makeStackFrame(c, "throwError", "ThrowException.java"),
99 Utils.makeStackFrame(WithClassLoaderName.class, "testURLClassLoader",
101 Utils.makeStackFrame(WithClassLoaderName.class, "main", SRC_FILENAME),
105 Utils.checkFrame(loaderName, frames[0], stes[0]);
116 Utils.checkFrame("app", frames[1], stes[i]);
119 Utils.checkFrame("app", frames[2], stes[i+1]);
/openjdk10/jdk/test/java/security/KeyStore/PKCS12/
H A DStoreTrustedCertAPITest.java69 Utils.KeyStoreType.pkcs12.name());
72 Utils.saveKeyStore(ks, KEYSTORE_PATH, PASSWORD);
73 ks = Utils.loadKeyStore(KEYSTORE_PATH, Utils.KeyStoreType.pkcs12,
92 Utils.createKeyStore(Utils.KeyStoreType.pkcs12, KEYSTORE_PATH, ALIAS);
93 Utils.exportCert(Utils.KeyStoreType.pkcs12, KEYSTORE_PATH,

Completed in 153 milliseconds

1234567891011>>