Searched defs:fis (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/test/java/io/readBytes/
H A DReadBytesBounds.java44 static final FileInputStream fis; field in class:ReadBytesBounds
52 fis = new FileInputStream(testFile);
79 fis.close();
88 fis.read(b, off, len);
/openjdk7/jdk/test/java/io/pathNames/unix/
H A DTrailingSlash.java47 static void go(String fns, boolean fis, boolean raf, boolean fos) argument
60 check("FileInputStream", fns, fis, threw);
/openjdk7/jdk/test/java/io/InputStream/
H A DOpsAfterClose.java127 FileInputStream fis = new FileInputStream(f);
129 if (testInputStream(fis)) {
132 if (testFileInputStream(fis)) {
136 fis.close();
261 private static boolean testFileInputStream(FileInputStream fis) argument
265 fis.getFD();
271 fis.getChannel();
/openjdk7/jdk/test/java/net/ResponseCache/
H A DgetResponseCode.java79 FileInputStream fis; field in class:getResponseCode.MyResponse
83 fis = new FileInputStream(new File(filename));
84 resources.add(fis);
85 headers = (Map<String,List<String>>)new ObjectInputStream(fis).readObject();
91 return fis;
H A DResponseCacheTest.java52 FileInputStream fis = null;
75 fis = new FileInputStream(file2);
78 while ((len = fis.read(buf)) != -1) {
91 try { fis.close(); } catch (IOException unused) {}
199 FileInputStream fis; field in class:ResponseCacheTest.MyCacheResponse
203 fis = new FileInputStream(new File(filename));
204 streams.add(fis);
205 ObjectInputStream ois = new ObjectInputStream(fis);
213 return fis;

Completed in 102 milliseconds