/openjdk10/jdk/test/java/io/File/ |
H A D | CheckTempDir.java | 28 * @summary this tests that the temp dir variable, java.io.tmpdir is 40 String tmpdir = null; 41 if ((tmpdir = System.getProperty("java.io.tmpdir")) == null) { 42 throw new RuntimeException("java.io.tmpdir is not initialized"); 44 System.out.println("checked tmpdir is not null: " + tmpdir);
|
H A D | DeleteOnExit.java | 35 static String tmpdir = System.getProperty("java.io.tmpdir"); field in class:DeleteOnExit 38 static File file1 = new File(tmpdir + "deletedOnExit1"); 39 static File file2 = new File(tmpdir + "deletedOnExit2"); 40 static File file3 = new File(tmpdir + "deletedOnExit3"); 43 static File dir = new File(tmpdir + "deletedOnExitDir");
|
/openjdk10/jdk/test/javax/swing/JFileChooser/6738668/ |
H A D | bug6738668.java | 40 String tmpdir = System.getProperty("java.io.tmpdir"); 41 System.out.println("tmp dir " + tmpdir); 42 new JFileChooser(new File(tmpdir+"/temp"));
|
/openjdk10/jdk/test/java/util/zip/ZipFile/ |
H A D | ManyZipFiles.java | 68 File tmpdir = new File( 69 System.getProperty("java.io.tmpdir") 71 if (tmpdir.exists() && !tmpdir.isDirectory()) { 72 fail(tmpdir.getAbsolutePath() 76 if (!tmpdir.exists()) { 77 if (!tmpdir.mkdirs()) { 79 + tmpdir.getAbsolutePath() + " for test files"); 82 } else if (!tmpdir.canWrite()) { 84 + tmpdir [all...] |
/openjdk10/jdk/test/java/nio/file/Files/ |
H A D | Misc.java | 55 static void testCreateDirectories(Path tmpdir) throws IOException { argument 57 createDirectories(tmpdir); 60 Path subdir = tmpdir.resolve("a"); 70 Path file = createFile(tmpdir.resolve("x")); 89 static void testIsHidden(Path tmpdir) throws IOException { argument 90 assertTrue(!isHidden(tmpdir)); 92 Path file = tmpdir.resolve(".foo"); 113 static void testIsSameFile(Path tmpdir) throws IOException { argument 114 Path thisFile = tmpdir.resolve("thisFile"); 115 Path thatFile = tmpdir 193 testFileTypeMethods(Path tmpdir) argument 253 testAccessMethods(Path tmpdir) argument [all...] |
H A D | CopyAndMove.java | 991 Path tmpdir = createTempDirectory("blah"); 993 if (TestUtil.supportsLinks(tmpdir)) { 994 Path link = createSymbolicLink(tmpdir.resolve("link"), 995 tmpdir.resolve("target")); 1007 delete(tmpdir); 1023 Path tmpdir = createTempDirectory("blah"); 1024 Path source = tmpdir.resolve("source"); 1025 Path target = tmpdir.resolve("target"); 1062 delete(tmpdir);
|
/openjdk10/jdk/test/tools/launcher/modules/validate/ |
H A D | ValidateModulesTest.java | 62 Path tmpdir = Files.createTempDirectory("tmp"); 64 Path classes = Files.createDirectory(tmpdir.resolve("classes")); 68 Path lib = Files.createDirectory(tmpdir.resolve("lib")); 83 Path tmpdir = Files.createTempDirectory("tmp"); 85 Path classes = Files.createDirectory(tmpdir.resolve("classes")); 88 Path lib = Files.createDirectory(tmpdir.resolve("lib")); 102 Path tmpdir = Files.createTempDirectory("tmp"); 104 Path classes = Files.createDirectory(tmpdir.resolve("classes")); 107 Path lib1 = Files.createDirectory(tmpdir.resolve("lib1")); 110 Path lib2 = Files.createDirectory(tmpdir [all...] |
/openjdk10/jdk/test/javax/imageio/plugins/external_plugin_tests/ |
H A D | TestClassPathPlugin.sh | 53 mkdir -p $TESTCLASSES/tmpdir/simp 54 cp -r $TESTSRC/src/simp/META-INF $TESTCLASSES/tmpdir 55 $JAVAC -d $TESTCLASSES/tmpdir `find $TESTSRC/src/simp -name "*.java"` 59 $JAR cf $PLUGINDIR/simp.jar -C $TESTCLASSES/tmpdir META-INF/services \ 60 -C $TESTCLASSES/tmpdir module-info.class -C $TESTCLASSES/tmpdir simp
|
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/ |
H A D | LocalVmManager.java | 48 private File tmpdir; field in class:LocalVmManager 81 tmpdir = new File(PerfDataFile.getTempDirectory()); 92 tmpdir = new File(PerfDataFile.getTempDirectory(userName)); 137 if (! tmpdir.isDirectory()) { 146 File[] dirs = tmpdir.listFiles(userFilter); 173 File[] files = tmpdir.listFiles(fileFilter); 186 File[] files = tmpdir.listFiles(tmpFileFilter);
|
H A D | PerfDataFile.java | 262 * This method generally returns the value of the java.io.tmpdir 278 * the directory indicated in the java.io.tmpdir property. However, 295 String tmpdir = VMSupport.getVMTemporaryDirectory(); 300 * changed such that the java.io.tmpdir string no longer terminates 303 if (tmpdir.lastIndexOf(File.separator) != (tmpdir.length()-1)) { 304 tmpdir = tmpdir + File.separator; 306 tmpDirName = tmpdir;
|
/openjdk10/langtools/test/tools/javac/processing/filer/ |
H A D | TestGetResource2.java | 65 File tmpdir = new File("testSingleSourceDir"); 66 File srcdir = new File(tmpdir, "src"); 67 File destdir = new File(tmpdir, "dest"); 83 File tmpdir = new File("testCompositeSourcePath"); 84 File srcdir = new File(tmpdir, "src"); 85 File rsrcdir = new File(tmpdir, "rsrc"); 86 File destdir = new File(tmpdir, "dest"); 102 File tmpdir = new File("testMissingResource"); 103 File srcdir = new File(tmpdir, "src"); 104 File destdir = new File(tmpdir, "des [all...] |
/openjdk10/nashorn/test/script/currently-failing/ |
H A D | JDK-8144221.js | 74 var tmpdir = Files.createTempDirectory(null), 75 tmp = tmpdir.toAbsolutePath().toString(), 155 Files.delete(tmpdir)
|
/openjdk10/jdk/test/java/awt/FontClass/CreateFont/ |
H A D | DeleteFont.sh | 50 ${TESTJAVA}/bin/java ${TESTVMOPTS} -Djava.io.tmpdir=${TESTCLASSES} DeleteFont
|
/openjdk10/jdk/test/javax/imageio/stream/ |
H A D | DeleteOnExitTest.sh | 53 -Djava.io.tmpdir=${TESTCLASSES} DeleteOnExitTest
|
/openjdk10/jdk/test/sun/net/www/protocol/jar/ |
H A D | B4957695.java | 27 * @run main/othervm -Djava.io.tmpdir=. B4957695 97 String tmpdir = System.getProperty("java.io.tmpdir"); 98 String[] list1 = listTmpFiles(tmpdir); 113 String[] list2 = listTmpFiles(tmpdir);
|
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/ |
H A D | TempFileHelper.java | 48 private static final Path tmpdir = field in class:TempFileHelper 49 Paths.get(GetPropertyAction.privilegedGetProperty("java.io.tmpdir")); 91 dir = tmpdir; 141 if (dir == tmpdir && sm != null)
|
/openjdk10/jdk/src/jdk.attach/solaris/classes/sun/tools/attach/ |
H A D | VirtualMachineImpl.java | 46 private static final String tmpdir = "/tmp"; field in class:VirtualMachineImpl 213 String path = tmpdir + "/.java_pid" + pid;; 238 f = new File(tmpdir, fn);
|
/openjdk10/jdk/test/sun/net/www/protocol/jar/jarbug/src/test/ |
H A D | JarTest.java | 30 static String tmpdir = System.getProperty("java.io.tmpdir"); field in class:JarTest 93 File result = new File(tmpdir + File.separator + getClass().getName());
|
/openjdk10/nashorn/test/script/ |
H A D | jfx.js | 65 var tmpdir = System.getProperty("java.io.tmpdir");
67 var scrShotTmp = tmpdir + fsep + "screenshot" + timenow +".png";
|
/openjdk10/jdk/src/jdk.attach/macosx/classes/sun/tools/attach/ |
H A D | VirtualMachineImpl.java | 40 // "tmpdir" is used as a global well-known location for the files 44 // This is intentionally not the same as java.io.tmpdir, since 47 private static final String tmpdir; field in class:VirtualMachineImpl 271 File f = new File(tmpdir, fn); 296 File f = new File(tmpdir, fn); 323 tmpdir = getTempDir();
|
/openjdk10/common/src/ |
H A D | fixpath.c | 206 char *tmpdir; local 226 tmpdir = getenv("TEMP"); 227 if (tmpdir == NULL) { 229 tmpdir = "c:/cygwin64/tmp"; 231 tmpdir = "c:/cygwin/tmp"; 234 _snprintf(name, sizeof(name), "%s\\atfile_XXXXXX", tmpdir);
|
/openjdk10/jdk/test/javax/management/remote/mandatory/loading/ |
H A D | RMIDownloadTest.java | 139 String tmpdir = System.getProperty("java.io.tmpdir"); 140 String classfile = tmpdir + File.separator + "Zooby.class"; 171 // This should not work; if it does it probably means java.io.tmpdir
|
/openjdk10/jdk/src/jdk.attach/aix/classes/sun/tools/attach/ |
H A D | VirtualMachineImpl.java | 48 private static final String tmpdir = "/tmp"; field in class:VirtualMachineImpl 269 File f = new File(tmpdir, ".java_pid" + pid); 287 f = new File(tmpdir, fn);
|
/openjdk10/jdk/src/jdk.attach/linux/classes/sun/tools/attach/ |
H A D | VirtualMachineImpl.java | 45 private static final String tmpdir = "/tmp"; field in class:VirtualMachineImpl 266 File f = new File(tmpdir, ".java_pid" + pid); 284 f = new File(tmpdir, fn);
|
/openjdk10/jdk/test/java/lang/module/ |
H A D | AutomaticModulesTest.java | 321 Path tmpdir = Files.createTempDirectory(USER_DIR, "tmp"); 324 Path providerClass = tmpdir.resolve(provider.replace('.', '/') + ".class"); 329 Path services = tmpdir.resolve("META-INF").resolve("services"); 334 JarUtils.createJarFile(dir.resolve("m.jar"), tmpdir); 368 Path tmpdir = Files.createTempDirectory(USER_DIR, "tmp"); 369 Path services = tmpdir.resolve("META-INF").resolve("services"); 373 JarUtils.createJarFile(dir.resolve("m.jar"), tmpdir); 401 Path tmpdir = Files.createTempDirectory(USER_DIR, "tmp"); 404 Path providerClass = tmpdir.resolve(provider.replace('.', '/') + ".class"); 409 Path services = tmpdir [all...] |