/openjdk7/jdk/src/share/classes/java/io/ |
H A D | DeleteOnExitHook.java | 37 private static LinkedHashSet<String> files = new LinkedHashSet<>(); field in class:DeleteOnExitHook 58 if(files == null) { 63 files.add(file); 70 theFiles = files; 71 files = null;
|
/openjdk7/jdk/test/java/awt/datatransfer/DragUnicodeBetweenJVMTest/ |
H A D | FileListTransferable.java | 34 public static File [] files = new File [] { field in class:FileListTransferable 64 List<File> list = Arrays.asList(files);
|
/openjdk7/jdk/test/java/io/FileOutputStream/ |
H A D | ManyFiles.java | 26 * @summary Test opening over 2048 files 35 static List files = new ArrayList(); field in class:ManyFiles 40 // Linux does not yet allow opening this many files; Solaris 51 files.add(f); 61 i = files.iterator();
|
/openjdk7/jdk/test/java/security/cert/CertificateFactory/openssl/ |
H A D | OpenSSLCert.java | 50 static void test(String... files) throws Exception { argument 53 for (String file: files) { 58 System.out.println("Testing " + Arrays.toString(files) + "..."); 61 .size() != files.length) {
|
/openjdk7/langtools/test/tools/javac/synthesize/ |
H A D | Main.java | 67 List<String> files = new ArrayList<String>(); 68 files.addAll(base_files); 69 files.add("Test.java"); 71 compile(false, files); 74 files = new ArrayList<String>(); 75 files.addAll(base_files); 76 files.addAll(extra_files); 77 files.remove(f); 78 files.add("Test.java"); 79 compile(false, files); 86 compile(boolean stdBootClassPath, String... files) argument 90 compile(boolean stdBootClassPath, List<String> files) argument [all...] |
/openjdk7/jdk/test/java/awt/dnd/FileListBetweenJVMsTest/ |
H A D | SourceFileListFrame.java | 40 private File[] files; field in class:SourceFileListFrame 52 files = new File(System.getProperty("java.home", "")).listFiles(); 56 for (File currFile:files) { 86 return files.length; 91 File [] files = new File[filesAsStringArray.length]; 93 files[fileNumber]=new File(filesAsStringArray[fileNumber]); 95 dge.startDrag(null, new FileListTransferable(Arrays.asList(files)));
|
/openjdk7/jdk/test/java/awt/dnd/URIListBetweenJVMsTest/ |
H A D | SourceFileListFrame.java | 40 private File[] files; field in class:SourceFileListFrame 52 files = new File(System.getProperty("java.home", "")).listFiles(); 56 for (File currFile:files) { 86 return files.length; 91 File [] files = new File[filesAsStringArray.length]; 93 files[fileNumber]=new File(filesAsStringArray[fileNumber]); 95 dge.startDrag(null, new FileListTransferable(Arrays.asList(files)));
|
/openjdk7/langtools/src/share/classes/javax/tools/ |
H A D | StandardJavaFileManager.java | 46 * {@linkplain File files}, 57 * For file objects representing regular files 158 * Gets file objects representing the given files. 160 * @param files a list of files 162 * @throws IllegalArgumentException if the list of files includes 166 Iterable<? extends File> files); 169 * Gets file objects representing the given files. 173 * getJavaFileObjectsFromFiles({@linkplain java.util.Arrays#asList Arrays.asList}(files)) 176 * @param files a 165 getJavaFileObjectsFromFiles( Iterable<? extends File> files) argument 183 getJavaFileObjects(File... files) argument [all...] |
/openjdk7/langtools/test/tools/javac/6917288/ |
H A D | GraphicalInstallerTest.java | 61 * Compile files with given options. 64 int compile(List<String> opts, File... files) { argument 67 for (File f: files) 80 * Check that a directory contains the expected files.
|
H A D | T6917288.java | 75 * Compile files with given options. 78 int compile(List<String> opts, File... files) { argument 81 for (File f: files) 94 * Check that a directory contains the expected files.
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | WindowsPlacesBar.java | 55 File[] files; field in class:WindowsPlacesBar 84 files = AccessController.doPrivileged(new PrivilegedAction<File[]>() { 90 buttons = new JToggleButton[files.length]; 92 for (int i = 0; i < files.length; i++) { 93 if (fsv.isFileSystemRoot(files[i])) { 95 files[i] = fsv.createFileObject(files[i].getAbsolutePath()); 98 String folderName = fsv.getSystemDisplayName(files[i]); 104 if (files[i] instanceof ShellFolder) { 106 ShellFolder sf = (ShellFolder)files[ [all...] |
/openjdk7/langtools/test/tools/javac/api/ |
H A D | T6306137.java | 42 Iterable<? extends JavaFileObject> files; field in class:T6306137 61 files = 68 compiler.getTask(null, fm, dl, args, null, files).call();
|
/openjdk7/langtools/test/tools/javac/processing/options/ |
H A D | TestImplicitNone.java | 49 // build up list of options and files to be compiled 51 List<File> files = new ArrayList<File>(); 60 files.add(test_java); 62 compile(opts, files); 69 /** Compile files with options provided. */ 70 void compile(List<String> opts, List<File> files) throws Exception { argument 71 System.err.println("javac: " + opts + " " + files); 74 for (File f: files)
|
/openjdk7/langtools/test/tools/javac/classreader/ |
H A D | T7031108.java | 109 String processor, JavaFileObject... files) throws Exception { 110 System.err.println("compile processor:" + processor + ", files:" + Arrays.asList(files)); 116 CompilationTask task = comp.getTask(null, fm, dl, opts, null, Arrays.asList(files)); 107 compile(JavaCompiler comp, JavaFileManager fm, DiagnosticListener<JavaFileObject> dl, String processor, JavaFileObject... files) argument
|
/openjdk7/corba/make/tools/src/build/tools/stripproperties/ |
H A D | StripProperties.java | 57 List<String> files = new ArrayList<String>(); 68 files = null; 74 files = null; 79 files = null; 85 files = null; 89 if ( files != null && contents != null ) { 94 files.addAll(ofiles); 96 error("No files found in file", null); 97 files = null; 101 if ( files 111 stripFiles(List<String> files) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | CreatedFontTracker.java | 105 * Helper class for cleanup of temp files created while processing fonts. 109 private static HashMap<File, OutputStream> files = new HashMap<>(); field in class:CreatedFontTracker.TempFileDeletionHook 144 files.put(file, null); 148 files.put(file, os); 152 files.remove(file); 156 if (files.isEmpty()) { 160 for (Map.Entry<File, OutputStream> entry : files.entrySet()) {
|
/openjdk7/jdk/make/tools/src/build/tools/stripproperties/ |
H A D | StripProperties.java | 57 List<String> files = new ArrayList<String>(); 68 files = null; 74 files = null; 79 files = null; 85 files = null; 89 if ( files != null && contents != null ) { 94 files.addAll(ofiles); 96 error("No files found in file", null); 97 files = null; 101 if ( files 111 stripFiles(List<String> files) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/ |
H A D | AppEvent.java | 45 * Contains a list of files. 48 final List<File> files; field in class:AppEvent.FilesEvent 50 FilesEvent(final List<File> files) { argument 51 this.files = files; 55 * @return the list of files 58 return files; 63 * Event sent when the app is asked to open a list of files. 70 OpenFilesEvent(final List<File> files, final String searchTerm) { argument 71 super(files); 91 PrintFilesEvent(final List<File> files) argument [all...] |
/openjdk7/langtools/test/tools/javac/4241573/ |
H A D | T4241573.java | 43 // Selection of files to be compiled 93 throw new Exception("unexpected files found: " + diff(found, expect)); 95 throw new Exception("expected files not found: " + diff(expect, found)); 121 /** Create a directory containing one or more files. */ 179 /** Create a path value from a list of directories and jar files. */ 180 String createPath(File... files) { argument 182 for (File f: files) { 190 /** Create a set of files from a base directory and a set of relative paths. */ 192 Set<File> files = new LinkedHashSet<File>(); 194 files 205 findFiles(File dir, Set<File> files) argument [all...] |
/openjdk7/langtools/test/tools/javac/6400872/ |
H A D | T6400872.java | 27 * @summary REGRESSION: Java Compiler cannot find jar files referenced by other 50 // put them in mutually referential class files 53 // verify we can successfully use the class path entries in the jar files 57 static void compile(File classOutDir, Iterable<File> classPath, File... files) argument 64 fm.getJavaFileObjectsFromFiles(Arrays.asList(files)); 86 static void jar(File jar, Iterable<File> classPath, File base, File... files) argument 97 add(j, base, files); 101 static void add(JarOutputStream j, File base, File... files) throws IOException { argument 102 if (files == null) 105 for (File f: files) [all...] |
/openjdk7/langtools/test/tools/javac/Paths/6638501/ |
H A D | JarFromManifestFailure.java | 27 * @summary REGRESSION: Java Compiler cannot find jar files referenced by other 74 static void compile(File classOutDir, Iterable<File> classPath, File... files) { argument 79 fm.getJavaFileObjectsFromFiles(Arrays.asList(files)); 98 static void jar(File jar, Iterable<File> classPath, File base, File... files) argument 109 add(j, base, files); 113 static void add(JarOutputStream j, File base, File... files) throws IOException { argument 114 if (files == null) 117 for (File f: files)
|
/openjdk7/langtools/test/tools/javac/ |
H A D | TestPkgInfo.java | 93 // build up list of options and files to be compiled 95 List<File> files = new ArrayList<File>(); 102 files.add(pkginfo_java); 104 compile(opts, files); 134 /** Compile files with options provided. */ 135 void compile(List<String> opts, List<File> files) throws Exception { argument 136 System.err.println("javac: " + opts + " " + files); 139 for (File f: files)
|
/openjdk7/langtools/test/tools/javac/file/zip/ |
H A D | Utils.java | 112 public static void cat(File output, File... files) throws IOException { argument 119 for (File x : files) {
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | FileDialog.java | 99 * Contains the File instances for all the files that the user selects. 105 private File[] files; field in class:FileDialog 119 * The file dialog will only be displaying files whose 150 public void setFiles(FileDialog fileDialog, File files[]) { 151 fileDialog.setFiles(files); 187 * a file. The files shown are those in the current directory. 203 * file dialog is finding a file to read, and the files shown are those 245 * a file. The files shown are those in the current directory. 272 * file dialog is finding a file to read, and the files shown are those 415 * Returns files tha 449 setFiles(File files[]) argument [all...] |
/openjdk7/jdk/test/demo/zipfs/ |
H A D | ZipFSTester.java | 223 final ArrayList<String> files = new ArrayList<>(); 225 list(fs1.getPath("/"), files, dirs); 274 List<String> list = new ArrayList<>(files); 306 for (String path : files) { 354 private static void list(Path path, List<String> files, List<String> dirs ) argument 360 list(child, files, dirs); 364 files.add(path.toString());
|