Searched defs:streams (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/test/java/io/FileOutputStream/
H A DManyFiles.java36 static List streams = new ArrayList(); field in class:ManyFiles
52 streams.add(new FileOutputStream(f));
55 Iterator i = streams.iterator();
/openjdk7/jdk/test/java/net/ResponseCache/
H A DResponseCacheTest.java45 static List<Closeable> streams = new ArrayList<>(); field in class:ResponseCacheTest
171 for (Closeable c: streams) {
204 streams.add(fis);
227 streams.add(fos);
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipFile.java324 private final Map<InputStream, Inflater> streams = new WeakHashMap<>(); field in class:ZipFile
331 * streams that have been returned by invocations of this method.
360 synchronized (streams) {
361 streams.put(in, null);
372 synchronized (streams) {
373 streams.put(is, inf);
400 synchronized (streams) {
401 inf = streams.remove(this);
567 * <p> Closing this ZIP file will close all of the input streams
579 // Close streams, releas
[all...]
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java270 if (!streams.isEmpty()) { // unlock and close all remaining streams
271 Set<InputStream> copy = new HashSet<>(streams);
829 // the outstanding input streams that need to be closed
830 private Set<InputStream> streams = field in class:ZipFileSystem
834 // input streams are all closed by the obtainers.
1188 if (ecc.streams.isEmpty()) {
1276 if (!streams.isEmpty()) {
1279 // sync when being closed, all streams should have been
1282 // There are outstanding input streams ope
2289 Set<InputStream> streams; field in class:ZipFileSystem.ExChannelCloser
2290 ExChannelCloser(Path path, SeekableByteChannel ch, Set<InputStream> streams) argument
[all...]

Completed in 395 milliseconds