Searched refs:tmpfile (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/test/java/util/zip/ZipFile/
H A Ddeletetempjar.sh33 tmpfile=`$TESTJAVA/bin/java -classpath $TESTCLASSES DeleteTempJar`
38 elif [ -f "$tmpfile" ]; then
/openjdk7/jdk/test/java/nio/file/Files/
H A DBytesAndLines.java135 Path tmpfile = createTempFile("blah", "txt");
140 assertTrue(size(tmpfile) == 0, "File should be empty");
141 lines = readAllLines(tmpfile, US_ASCII);
146 write(tmpfile, hi);
147 lines = readAllLines(tmpfile, US_ASCII);
153 write(tmpfile, expected, US_ASCII);
154 assertTrue(size(tmpfile) > 0, "File is empty");
155 lines = readAllLines(tmpfile, US_ASCII);
160 write(tmpfile, bad);
162 readAllLines(tmpfile, US_ASCI
[all...]
/openjdk7/jdk/test/java/lang/management/BufferPoolMXBean/
H A DBasic.java84 Path tmpfile = Files.createTempFile("blah", null);
85 tmpfile.toFile().deleteOnExit();
86 try (FileChannel fc = FileChannel.open(tmpfile, READ, WRITE)) {
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DGeneratePropertyPassword.sh42 TMP_FILE=${TESTCLASSES}${FILESEP}${TESTCLASS}.sed.tmpfile
52 TMP_FILE=${TESTCLASSES}${FILESEP}${TESTCLASS}.sed.tmpfile
/openjdk7/jdk/src/macosx/classes/apple/applescript/
H A DAppleScriptEngine.java298 File tmpfile;
301 tmpfile = Files.createTempFile("AppleScriptEngine.", ".scpt").toFile();
302 tmpwrite = new FileWriter(tmpfile);
304 // read in our input and write directly to tmpfile
318 final long retCtx = evalScriptFromURL("file://" + tmpfile.getCanonicalPath(), contextptr);
324 tmpfile.delete();
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DDriver.java224 String tmpfile = ""; // temporary file to be deleted
245 tmpfile = createTempFile(newfile, ".pack").getPath();
246 packfile = tmpfile;
374 if (!tmpfile.equals(""))
375 new File(tmpfile).delete();
389 Path tmpfile = (where == null)
393 return tmpfile.toFile();
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java717 options.remove(StandardOpenOption.CREATE_NEW); // for tmpfile
723 final Path tmpfile = isFCH ? e.file : getTempPathForEntry(path);
724 final FileChannel fch = tmpfile.getFileSystem()
726 .newFileChannel(tmpfile, options, attrs);
727 final Entry u = isFCH ? e : new Entry(path, tmpfile, Entry.FILECH);
820 removeTempPathForEntry(tmpfile);

Completed in 155 milliseconds