/openjdk10/jdk/test/sun/net/www/protocol/jrt/ |
H A D | Basic.java | 51 public void testConnect(String urlString, boolean exists) throws Exception { argument 56 if (!exists) fail("IOException expected"); 58 if (exists) fail("IOException not expected"); 63 public void testInputStream(String urlString, boolean exists) throws Exception { argument 69 if (!exists) fail("IOException expected"); 71 if (exists) fail("IOException not expected"); 76 public void testContentLength(String urlString, boolean exists) throws Exception { argument 79 assertTrue((exists && len > 0) || (!exists && len == -1)); 83 public void testGetContent(String urlString, boolean exists) throw argument [all...] |
/openjdk10/jdk/test/java/io/File/ |
H A D | DeleteOnExit.java | 54 if (file1.exists() || file2.exists() || file3.exists() || 55 dir.exists() || file4.exists() || file5.exists() || 56 file6.exists() || file7.exists()) { 58 System.out.println(file1 + ", exists = " + file1.exists()); [all...] |
H A D | CreateNewFile.java | 38 if (f.exists() && !f.delete()) 42 if (!f.exists()) 61 if (tmpFile.exists() && !tmpFile.delete()) 65 if (!tmpFile.exists())
|
H A D | Create.java | 41 if (!file.exists()) 44 if (file.exists())
|
H A D | Basic.java | 60 showBoolean("exists", f.exists()); 72 if (!f.exists()) fail(f, "does not exist"); 107 if (rwFile.exists()) { 115 if (!thisDir.exists()) fail(thisDir, "does not exist"); 129 if (!dir.mkdir() || !dir.exists() || !dir.isDirectory()) { 135 if (dir.exists() || !dir2.exists() || !dir2.isDirectory()) { 141 if (bigFile.exists()) { 143 if (bigFile.exists()) [all...] |
H A D | SetReadOnly.java | 45 if (f.exists()) { 61 if (f.exists()) {
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/loop/ |
H A D | LoopNewInstance.java | 49 private boolean exists; field in class:LoopNewInstance.Blop 52 if (!exists) { 55 exists = true;
|
/openjdk10/nashorn/test/script/trusted/ |
H A D | JDK-8087292.js | 50 function exists(f) { 51 return Files.exists(Paths.get(f)) 54 var javaLauncher = exists(jLauncher) ? jLauncher : altjLauncher 57 if (!exists(javaLauncher)) {
|
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/collect/ |
H A D | SearchPath.java | 46 if (exists(entry)) { 52 if (exists(entry)) { 58 if (exists(newPath)) { 65 if (exists(newPath)) { 77 private boolean exists(Path entry) { method in class:SearchPath 78 return fileSupport.exists(entry);
|
/openjdk10/jdk/test/java/io/pathNames/win32/ |
H A D | RenameDelete.java | 59 if(f1.exists() || f2.exists()) { 65 System.err.println("Exist as directory:"+f1.exists()+" "+f1.isDirectory());
|
/openjdk10/jdk/test/java/io/PrintStream/ |
H A D | FailingConstructors.java | 59 private static void test(boolean exists, File file) throws Throwable { argument 68 check(exists, file); 77 check(exists, file); 87 check(exists, file); 96 check(exists, file); 99 private static void check(boolean exists, File file) { argument 100 if (exists) { 105 if (file.exists()) { fail(file + " should not have been created"); }
|
/openjdk10/jdk/test/java/io/PrintWriter/ |
H A D | FailingConstructors.java | 58 private static void test(boolean exists, File file) throws Throwable { argument 67 check(exists, file); 76 check(exists, file); 86 check(exists, file); 95 check(exists, file); 98 private static void check(boolean exists, File file) { argument 99 if (exists) { 104 if (file.exists()) { fail(file + " should not have been created"); }
|
/openjdk10/jdk/test/java/io/pathNames/ |
H A D | GeneralWin32.java | 59 if (!f.exists()) { 60 if (!d.exists()) { 69 if (!f2.exists()) { 114 if (!df.exists()) { 124 if (df.exists()) return d; 129 private static void checkDrive(int depth, String drive, boolean exists) argument 133 String ans = exists ? df.getAbsolutePath() : drive; 154 if (!(new File(s)).exists()) {
|
/openjdk10/jdk/test/java/util/Scanner/ |
H A D | FailingConstructors.java | 56 private static void test(boolean exists, File file) throws Throwable { argument 65 check(exists, file); 74 check(exists, file); 84 check(exists, file); 93 check(exists, file); 96 private static void check(boolean exists, File file) { argument 97 if (exists) { 102 if (file.exists()) { fail(file + " should not have been created"); }
|
/openjdk10/jdk/test/java/util/Formatter/ |
H A D | FailingConstructors.java | 57 private static void test(boolean exists, File file) throws Throwable { argument 66 check(exists, file); 75 check(exists, file); 85 check(exists, file); 94 check(exists, file); 97 private static void check(boolean exists, File file) { argument 98 if (exists) { 103 if (file.exists()) { fail(file + " should not have been created"); }
|
/openjdk10/hotspot/test/compiler/aot/cli/ |
H A D | NonExistingAOTLibraryTest.java | 45 if (new File(PATH).exists()) { 46 throw new Error("TESTBUG: " + PATH + " unexpectedly exists");
|
/openjdk10/jdk/test/java/rmi/server/RMIClassLoader/noSecurityManager/ |
H A D | NoSecurityManager.java | 71 if (!dstDir.exists()) { 91 if (!dstFile.exists()) { 92 if (!srcFile.exists()) { 108 if (srcFile.exists()) {
|
/openjdk10/hotspot/test/compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/ |
H A D | FakeFileSupport.java | 33 private final Set<String> exists = new HashSet<>(); field in class:FakeFileSupport 45 this.exists.addAll(existing); 61 public boolean exists(Path path) { method in class:FakeFileSupport 63 return exists.contains(path.toString()); 90 exists.add(name);
|
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/ |
H A D | CacheFSInfo.java | 69 public boolean exists(Path file) { method in class:CacheFSInfo 71 return e.exists; 105 e.exists = super.exists(file); 118 boolean exists; field in class:CacheFSInfo.Entry
|
/openjdk10/jdk/test/tools/pack200/ |
H A D | PackChecksum.java | 81 if (!destFile.exists()) { 85 if (inputJar.exists()) 87 if (testPack.exists()) 89 if (destFile.exists()) 129 if (dstFile.exists()) { 145 if (testFile.exists()) 148 if (testPack.exists()) 155 if (dstFile.exists()) { 158 ": file exists: " + dstFile); 164 if (result.exists()) { [all...] |
/openjdk10/jdk/src/java.base/unix/classes/jdk/internal/loader/ |
H A D | FileURLMapper.java | 70 * Checks whether the file identified by the URL exists. 72 public boolean exists () { method in class:FileURLMapper 78 return f.exists();
|
/openjdk10/jdk/src/java.base/windows/classes/jdk/internal/loader/ |
H A D | FileURLMapper.java | 70 public boolean exists() { method in class:FileURLMapper 73 return f.exists();
|
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | ClassFile.java | 73 return Files.exists(path)? new PathClassFile(path) : null; 87 * Returns true if file exists. 89 public abstract boolean exists(); method in class:ClassFile
|
H A D | FileClassFile.java | 63 public boolean exists() { method in class:FileClassFile 64 return file.exists();
|
/openjdk10/jdk/test/com/sun/management/HotSpotDiagnosticMXBean/ |
H A D | DumpHeap.java | 54 if (dump.exists()) { 66 assertTrue(dump.exists() && dump.isFile(), "Could not create dump file");
|