/openjdk7/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");
|
/openjdk7/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")); 84 static void testIsHidden(Path tmpdir) throws IOException { argument 85 assertTrue(!isHidden(tmpdir)); 87 Path file = tmpdir.resolve(".foo"); 108 static void testIsSameFile(Path tmpdir) throws IOException { argument 109 Path thisFile = tmpdir.resolve("thisFile"); 110 Path thatFile = tmpdir 188 testFileTypeMethods(Path tmpdir) argument 248 testAccessMethods(Path tmpdir) argument [all...] |
H A D | CopyAndMove.java | 969 Path tmpdir = createTempDirectory("blah"); 971 if (TestUtil.supportsLinks(tmpdir)) { 972 Path link = createSymbolicLink(tmpdir.resolve("link"), 973 tmpdir.resolve("target")); 985 delete(tmpdir); 1001 Path tmpdir = createTempDirectory("blah"); 1002 Path source = tmpdir.resolve("source"); 1003 Path target = tmpdir.resolve("target"); 1040 delete(tmpdir);
|
/openjdk7/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...] |
/openjdk7/jdk/src/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 | 263 * This method generally returns the value of the java.io.tmpdir 279 * the directory indicated in the java.io.tmpdir property. However, 292 * Solaris java.io.tmpdir property were set to /tmp by default 296 * Why is java.io.tmpdir on Solaris set to "/var/tmp/" when the 303 String tmpdir = System.getProperty("java.io.tmpdir"); 305 if (tmpdir.compareTo("/var/tmp/") == 0) { 308 * java.io.tmpdir is set to "/var/tmp/" on Solaris and Linux, 311 * to java.io.tmpdir. 313 tmpdir [all...] |
/openjdk7/langtools/test/tools/javac/processing/filer/ |
H A D | TestGetResource2.java | 63 File tmpdir = new File("testSingleSourceDir"); 64 File srcdir = new File(tmpdir, "src"); 65 File destdir = new File(tmpdir, "dest"); 81 File tmpdir = new File("testCompositeSourcePath"); 82 File srcdir = new File(tmpdir, "src"); 83 File rsrcdir = new File(tmpdir, "rsrc"); 84 File destdir = new File(tmpdir, "dest"); 100 File tmpdir = new File("testMissingResource"); 101 File srcdir = new File(tmpdir, "src"); 102 File destdir = new File(tmpdir, "des [all...] |
/openjdk7/jdk/test/java/awt/FontClass/CreateFont/ |
H A D | DeleteFont.sh | 50 ${TESTJAVA}/bin/java -Djava.io.tmpdir=${TESTCLASSES} DeleteFont
|
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/ |
H A D | DirectoryScannerTest.java | 153 final String tmpdir = System.getProperty("java.io.tmpdir"); 157 config.addDirectoryScanner("test",tmpdir,".*",0,0); 166 final File tmpFile = new File(tmpdir); 191 final String tmpdir = System.getProperty("java.io.tmpdir"); 194 config.addDirectoryScanner("test1",tmpdir,".*",0,0); 195 config.addDirectoryScanner("test2",tmpdir,".*",0,0); 196 config.addDirectoryScanner("test3",tmpdir,".*",0,0); 263 bean.setRootDirectory(System.getProperty("java.io.tmpdir")); [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/jar/ |
H A D | B4957695.java | 96 String tmpdir = System.getProperty("java.io.tmpdir"); 97 String[] list1 = listTmpFiles(tmpdir); 112 String[] list2 = listTmpFiles(tmpdir);
|
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/ |
H A D | BsdVirtualMachine.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:BsdVirtualMachine 73 File f = new File(tmpdir, ".attach_pid" + pid); 255 File f = new File(tmpdir, fn); 301 tmpdir = getTempDir();
|
H A D | SolarisVirtualMachine.java | 46 private static final String tmpdir = "/tmp"; field in class:SolarisVirtualMachine 197 String path = tmpdir + "/.java_pid" + pid;; 222 f = new File(tmpdir, fn);
|
H A D | LinuxVirtualMachine.java | 45 private static final String tmpdir = "/tmp"; field in class:LinuxVirtualMachine 269 File f = new File(tmpdir, ".java_pid" + pid); 287 f = new File(tmpdir, fn);
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | TempFileHelper.java | 49 private static final Path tmpdir = field in class:TempFileHelper 50 Paths.get(doPrivileged(new GetPropertyAction("java.io.tmpdir"))); 92 dir = tmpdir; 142 if (dir == tmpdir && sm != null)
|
/openjdk7/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());
|
H A D | TestBug4361044.java | 56 File testDir = new File(tmpdir + File.separator + getClass().getName());
|
H A D | TestBug4523159.java | 58 File testDir = new File(tmpdir + File.separator + getClass().getName());
|
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/ |
H A D | RMIDownloadTest.java | 138 String tmpdir = System.getProperty("java.io.tmpdir"); 139 String classfile = tmpdir + File.separator + "Zooby.class"; 170 // This should not work; if it does it probably means java.io.tmpdir
|
/openjdk7/jdk/src/windows/native/java/lang/ |
H A D | java_props_md.c | 334 WCHAR tmpdir[MAX_PATH + 1]; local 336 GetTempPathW(MAX_PATH + 1, tmpdir); 337 sprops.tmp_dir = _wcsdup(tmpdir);
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | File.java | 1871 private static final File tmpdir = new File(AccessController field in class:File.TempDirectory 1872 .doPrivileged(new GetPropertyAction("java.io.tmpdir"))); 1874 return tmpdir; 1932 * <code>java.io.tmpdir</code>. On UNIX systems the default value of this 1974 File tmpdir = (directory != null) ? directory 1979 f = TempDirectory.generateFile(prefix, suffix, tmpdir);
|
/openjdk7/langtools/make/ |
H A D | Makefile | 165 ANT_OPTS = ANT_OPTS=-Djava.io.tmpdir='$(ANT_TMPDIR)'
|
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | perfMemory_bsd.cpp | 154 const char* tmpdir = os::get_temp_directory(); local 156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; 160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user); 650 warning("Insufficient space for shared memory file:\n %s\nTry using the -Djava.io.tmpdir= option to select an alternate temp location.\n", filename);
|
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | perfMemory_linux.cpp | 154 const char* tmpdir = os::get_temp_directory(); local 156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; 160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user); 650 warning("Insufficient space for shared memory file:\n %s\nTry using the -Djava.io.tmpdir= option to select an alternate temp location.\n", filename);
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | perfMemory_solaris.cpp | 156 const char* tmpdir = os::get_temp_directory(); local 158 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; 162 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
|