Searched refs:tmpdir (Results 1 - 25 of 35) sorted by relevance

12

/openjdk10/jdk/test/java/io/File/
H A DCheckTempDir.java28 * @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 DDeleteOnExit.java35 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 Dbug6738668.java40 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 DManyZipFiles.java68 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 DMisc.java55 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 DCopyAndMove.java991 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 DValidateModulesTest.java62 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 DTestClassPathPlugin.sh53 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 DLocalVmManager.java48 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 DPerfDataFile.java262 * 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 DTestGetResource2.java65 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 DJDK-8144221.js74 var tmpdir = Files.createTempDirectory(null),
75 tmp = tmpdir.toAbsolutePath().toString(),
155 Files.delete(tmpdir)
/openjdk10/jdk/test/java/awt/FontClass/CreateFont/
H A DDeleteFont.sh50 ${TESTJAVA}/bin/java ${TESTVMOPTS} -Djava.io.tmpdir=${TESTCLASSES} DeleteFont
/openjdk10/jdk/test/javax/imageio/stream/
H A DDeleteOnExitTest.sh53 -Djava.io.tmpdir=${TESTCLASSES} DeleteOnExitTest
/openjdk10/jdk/test/sun/net/www/protocol/jar/
H A DB4957695.java27 * @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 DTempFileHelper.java48 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 DVirtualMachineImpl.java46 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 DJarTest.java30 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 Djfx.js65 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 DVirtualMachineImpl.java40 // "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 Dfixpath.c206 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 DRMIDownloadTest.java139 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 DVirtualMachineImpl.java48 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 DVirtualMachineImpl.java45 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 DAutomaticModulesTest.java321 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...]

Completed in 145 milliseconds

12