Searched refs:exists (Results 26 - 50 of 627) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/api/ToolProvider/
H A DToolProviderTest.java48 if (!Files.exists(image) && Files.exists(modules)) {
/openjdk10/jdk/test/javax/imageio/
H A DEmptyFileTest.java45 out.exists() ? "EXISTS" : "NEW");
60 if (out.exists()) {
/openjdk10/hotspot/test/compiler/aot/cli/jaotc/
H A DClasspathOptionUnknownClassTest.java45 Asserts.assertFalse(compiledLibrary.exists(), "Compiler library unexpectedly exists");
H A DListOptionNotExistingTest.java52 Asserts.assertFalse(compiledLibrary.exists(), "Compiler library unexpectedly exists");
H A DCompileClassTest.java48 Asserts.assertTrue(compiledLibrary.exists(), "Compiled library file missing");
/openjdk10/jdk/src/jdk.jdi/windows/classes/com/sun/tools/jdi/
H A DSunSDK.java46 return jdwpLib.exists() ? jreParent.getAbsolutePath() : null;
/openjdk10/langtools/test/jdk/jshell/
H A DKullaCompletenessStressTest.java47 if (!file.exists()) {
/openjdk10/hotspot/test/runtime/XCheckJniJsig/
H A DXCheckJSig.java56 if (!(new File(libjsig).exists())) {
62 if (!(new File(libjsig).exists())) {
70 // Make sure the libjsig file exists.
71 if (!(new File(libjsig).exists())) {
/openjdk10/jdk/test/java/io/File/
H A DUnicode.java62 if (! f.exists()) fail("! f.exists()");
87 if ( f2.exists()) fail(" f2.exists()");
88 if ( f1.exists()) fail(" f1.exists()");
H A DWinSpecialFiles.java26 @summary Check if File.exists()/length() works correctly on Windows
40 if (!dir[i].exists()) {
41 throw new Exception("exists() returns false for <"
/openjdk10/langtools/test/tools/javac/
H A DT6595666.java47 if (classFile.exists())
51 if (classFile.exists())
55 if (!classFile.exists())
/openjdk10/langtools/test/tools/javac/processing/6350124/
H A DT6350124.java62 if (!hw.exists())
66 if (!dc.exists())
74 if (!file.exists())
/openjdk10/nashorn/test/script/nosecurity/
H A Djjs-common.js40 //Files.exists() expects proper extension as it talks to windows filesystem even on cygwin
85 function exists(f) {
86 return Files.exists(Paths.get(f))
89 var jjs = exists(homeJjs) ? homeJjs : altJjs
90 var javac = exists(homejavac) ? homejavac : altjavac
92 if (!exists(jjs)) {
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/validation/
H A DValidatorTest.java66 if (resultFile.exists()) {
75 Assert.assertTrue(resultFile.exists(), "result file is not created");
81 if (resultFile != null && resultFile.exists()) {
93 if (resultFile.exists()) {
104 Assert.assertTrue(resultFile.exists(), "result file is not created");
109 if (resultFile != null && resultFile.exists()) {
122 if (resultFile.exists()) {
135 Assert.assertTrue(resultFile.exists(), "result file is not created");
140 if (resultFile != null && resultFile.exists()) {
149 if (invalidResultFile.exists()) {
[all...]
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/
H A DPortFile.java96 // Reached if file for instance already exists and is a directory
191 for (int i = 0; i < 10 && file.exists(); i++) {
194 if (file.exists()) {
202 public boolean exists() throws IOException { method in class:PortFile
203 return file.exists();
210 if (stopFile.exists()) {
241 if (exists()) {
/openjdk10/hotspot/test/serviceability/dcmd/gc/
H A DHeapDumpTest.java55 if (dump.exists()) {
67 Assert.assertTrue(dump.exists() && dump.isFile(), "Could not create dump file " + dump.getAbsolutePath());
71 Assert.assertTrue(out != null && out.exists() && out.isFile(), "Could not find hprof parser output file");
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/writer/
H A DFileCodeWriter.java71 if(!target.exists() || !target.isDirectory())
87 if(!dir.exists()) dir.mkdirs();
91 if (fn.exists()) {
/openjdk10/jdk/src/jdk.internal.le/share/classes/jdk/internal/jline/console/history/
H A DFileHistory.java52 if (file.exists()) {
76 if (!file.exists()) {
78 if (!dir.exists() && !dir.mkdirs()) {
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/
H A DDumpBytecode.java68 if (!dir.exists() && !dir.mkdirs()) {
79 } while (file.exists());
102 if (!dir.exists() && !dir.mkdirs()) {
/openjdk10/test/lib/jdk/test/lib/
H A DFileInstaller.java50 if (src.toFile().exists()) {
55 if (!dstDir.toFile().exists()) {
79 if (!destination.toFile().exists()) {
/openjdk10/jdk/src/demo/share/jfc/FileChooserDemo/
H A DExampleFileSystemView.java62 if (result.exists()) {
63 throw new IOException("Directory 'New folder' exists");
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/ccache/
H A DMemoryCredentialsCache.java59 public abstract boolean exists(String cache); method in class:MemoryCredentialsCache
/openjdk10/jdk/test/java/awt/SplashScreen/
H A DGenerateTestImage.java39 if (file.exists()) {
/openjdk10/jdk/test/java/awt/FontClass/
H A DAppleFontNameTest.java51 if (!fontFile.exists()) {
/openjdk10/jdk/test/java/rmi/server/RMIClassLoader/spi/
H A DServiceConfiguration.java37 if (!dstDir.exists()) {

Completed in 197 milliseconds

1234567891011>>