Searched refs:path (Results 251 - 275 of 981) sorted by relevance

<<11121314151617181920>>

/openjdk9/langtools/test/jdk/javadoc/tool/
H A DT6968833.java48 File writeFile(File dir, String path, String s) throws IOException { argument
49 File f = new File(dir, path);
/openjdk9/langtools/test/jdk/jshell/
H A DImportTest.java105 Path path = Paths.get("testImport");
106 compiler.compile(path, "package util; public class ArrayList { public String toString() { return \"MyList\"; } }");
107 compiler.compile(path, "package util; public class A { public static class ArrayList {\n" +
109 addToClasspath(compiler.getPath(path));
145 Path path = Paths.get("testImport");
146 compiler.compile(path, "package util; public class A {" +
149 compiler.compile(path, "package util; public class B {" +
152 addToClasspath(compiler.getPath(path));
/openjdk9/langtools/test/tools/javac/
H A DT6900149.java54 private static File createTempFile(String path) throws IOException { argument
55 File f = new File(path);
/openjdk9/nashorn/test/script/basic/
H A Doctane-payload.js55 // TODO: why is this path hard coded when it's defined in project properties?
56 var path = dir + "../external/octane/"; variable
57 var base = path + "base.js";
/openjdk9/jdk/test/java/util/logging/
H A DCheckLockLocationTest.java215 Path path = nonWritableDir.toPath();
217 final boolean isWritable = Files.isWritable(path);
221 + getOwner(path) + " at: " + path.toString());
226 + "\n\t non-writable for " + getOwner(path)
239 private static String getOwner(Path path) { argument
242 user = Files.getOwner(path);
244 System.err.println("Failed to get owner of: " + path);
/openjdk9/jdk/test/lib/testlibrary/jdk/testlibrary/
H A DFileUtils.java52 * @param path the file to delete
62 public static void deleteFileWithRetry(Path path) argument
66 deleteFileWithRetry0(path);
76 * @param path the file to delete
86 public static void deleteFileIfExistsWithRetry(Path path) argument
90 if(Files.exists(path))
91 deleteFileWithRetry0(path);
97 private static void deleteFileWithRetry0(Path path) argument
104 Files.delete(path);
105 while (Files.exists(path)) {
[all...]
/openjdk9/langtools/test/tools/javac/api/6440333/
H A DT6440333.java44 File path = test_src.getCanonicalFile();
45 File src = new File(new File(path, "."), "T6440333.java");
/openjdk9/jdk/test/tools/jlink/plugins/
H A DStringSharingPluginTest.java108 String path = p.toString().replace('\\', '/');
109 path = path.substring("/modules".length());
110 if (path.charAt(0) != '/') {
111 path = "/" + path;
113 ResourcePoolEntry res = ResourcePoolEntry.create(path, content);
132 if (res.path().endsWith(".class")) {
/openjdk9/langtools/test/tools/javadoc/
H A DT6968833.java48 File writeFile(File dir, String path, String s) throws IOException { argument
49 File f = new File(dir, path);
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/filechooser/
H A DFileSystemView.java473 * Returns a File object constructed from the given path string.
475 * @param path {@code String} representation of path
476 * @return a {@code File} object created from the given {@code path}
478 public File createFileObject(String path) { argument
479 File f = new File(path);
746 // Could be looking at the path for Solaris, but wouldn't be reliable.
784 String path = parent.getAbsolutePath();
785 if (path.length() >= 2
786 && path
866 createFileObject(String path) argument
[all...]
/openjdk9/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/
H A DJPopupMenuOperator.java584 * @param path a menu path.
585 * @param delim a path delimiter.
590 public JMenuItem pushMenu(String path, String delim, StringComparator comparator) { argument
591 return pushMenu(parseString(path, delim), comparator);
597 * @param path a menu path.
602 public JMenuItem pushMenu(String path, StringComparator comparator) { argument
603 return pushMenu(parseString(path), comparator);
609 * @param path Strin
620 pushMenu(String path, String delim, boolean ce, boolean ccs) argument
632 pushMenuNoBlock(String path, String delim, StringComparator comparator) argument
643 pushMenuNoBlock(String path, StringComparator comparator) argument
660 pushMenuNoBlock(String path, String delim, boolean ce, boolean ccs) argument
672 pushMenu(String path, String delim) argument
683 pushMenu(String path) argument
693 pushMenuNoBlock(String path, String delim) argument
702 pushMenuNoBlock(String path) argument
722 showMenuItems(String[] path, StringComparator comparator) argument
738 showMenuItems(String[] path) argument
751 showMenuItems(String path, String delim, StringComparator comparator) argument
764 showMenuItems(String path, StringComparator comparator) argument
777 showMenuItems(String path, String delim) argument
790 showMenuItems(String path) argument
819 showMenuItem(String[] path, StringComparator comparator) argument
843 showMenuItem(String[] path) argument
857 showMenuItem(String path, String delim, StringComparator comparator) argument
870 showMenuItem(String path, StringComparator comparator) argument
883 showMenuItem(String path, String delim) argument
896 showMenuItem(String path) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/nio/file/spi/
H A DFileTypeDetector.java86 * @param path
87 * the path to the file to probe
104 public abstract String probeContentType(Path path) argument
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.salver/src/org/graalvm/compiler/salver/handler/
H A DAbstractDumpHandler.java76 protected void setWriter(Path path) throws IOException { argument
77 setWriter(path, WRITE, TRUNCATE_EXISTING, CREATE);
80 protected void setWriter(Path path, OpenOption... options) throws IOException { argument
81 setWriter(FileChannel.open(path, options));
/openjdk9/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/collect/module/
H A DModuleSourceProvider.java54 Path path = fileSystem.getPath(name);
61 Path found = findModuleDirectory(dir, path);
70 private Path findModuleDirectory(Path root, Path path) { argument
72 return fileSupport.getSubDirectory(fileSystem, root, path);
/openjdk9/jdk/src/java.base/windows/native/libjimage/
H A DosSupport_windows.cpp40 jint osSupport::openReadOnly(const char *path) { argument
41 return ::open(path, 0, 0);
54 jlong osSupport::size(const char *path) { argument
56 if (stat(path, &statbuf) < 0 ||
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/tree/
H A DTreeModel.java116 * by <code>path</code> to <code>newValue</code>.
120 * @param path path to the node that the user has altered
123 public void valueForPathChanged(TreePath path, Object newValue); argument
/openjdk9/jdk/src/java.naming/share/classes/com/sun/jndi/toolkit/url/
H A DUri.java79 * path = [ abs_path | opaque_part ]
102 * if were a {@code path} without a leading slash.
113 protected String path; field in class:Uri
167 * Returns the URI's path. The path is never null. Note that a
169 * no authority part) is part of the path. For example, the path
173 return path;
234 i = slash; // skip to path
238 path
[all...]
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/plugin/
H A DResourcePoolModule.java45 * Retrieves a ResourcePoolEntry from the given path (e.g:
48 * @param path The piece of data path.
49 * @return A ResourcePoolEntry of the given path, if found.
51 public Optional<ResourcePoolEntry> findEntry(String path); argument
/openjdk9/jdk/src/jdk.management.agent/unix/classes/jdk/internal/agent/
H A DFileSystemImpl.java46 static native boolean isAccessUserOnly0(String path) throws IOException; argument
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/
H A DReporter.java52 * @param path the DocTreePath of item where the error occurs
55 void print(Diagnostic.Kind kind, DocTreePath path, String msg); argument
/openjdk9/jdk/test/sun/management/jmxremote/bootstrap/
H A DRmiSslNoKeyStoreTest.java127 * Compute the full path name for a default file.
142 * Compute the full path name for a default file.
253 final String path = (file==null)?null:file.getAbsolutePath();
254 final String config = (path==null)?"Default config file":path;
259 port + "): "+ path);
264 if (path != null)
265 System.setProperty("com.sun.management.config.file", path);
271 if (path != null && log.isDebugOn())
273 "com.sun.management.config.file="+path);
[all...]
/openjdk9/jdk/test/sun/net/www/ftptest/
H A DFtpFileSystemHandler.java33 * @param path the path of the directory to change to, in either relative
37 public boolean cd(String path); argument
45 * working directory full path.
91 * @param name the path of the directory to create, which can be
/openjdk9/jdk/test/sun/net/ftp/
H A DFtpURLConnectionLeak.java51 // should always reach this point since the path does not exist
76 public CustomFileSystemHandler(String path) { argument
77 currentDir = path;
81 public boolean cd(String path) { argument
82 currentDir = path;
/openjdk9/
H A DMakefile33 .TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU Make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
38 $(info Check your path, or upgrade to GNU Make 3.81 or newer.)
45 $(info Check your path, or upgrade to GNU Make 3.81 or newer.)
50 # make executable is called using a Windows mixed path (c:/cygwin/bin/make.exe).
/openjdk9/jdk/src/java.base/macosx/native/launcher/
H A Djexec.c92 /* path to java after popping */
100 int getJavaPath(const char * path, char * buf, int depth);
115 * name, and the original arg[1], which is presumed to be a path to a JAR file.
125 char java[PATH_MAX + 1]; /* path to java binary */
136 /* Get the path to the java binary, which is in a known position relative
149 /* the next argument is the path to the JAR file */
195 * Get the path to the java binary that should be relative to the current path.
198 * path - the input path tha
208 getJavaPath(const char * path, char * buf, int depth) argument
[all...]

Completed in 330 milliseconds

<<11121314151617181920>>