Searched refs:FileInputStream (Results 1 - 25 of 744) sorted by relevance

1234567891011>>

/openjdk9/jdk/test/sun/security/provider/PolicyParser/
H A DPrincipalExpansionErrorAction.java32 java.io.FileInputStream fis = new java.io.FileInputStream ("/testFile");
H A DExpansionErrorMisleading.java43 java.io.FileInputStream fis = new java.io.FileInputStream
/openjdk9/langtools/test/tools/javac/TryWithResources/
H A DResourceRedecl.java20 try (java.io.FileInputStream exParam1 = new java.io.FileInputStream("foo.txt")) {
28 try (java.io.FileInputStream exParam2 = new java.io.FileInputStream("bar.txt")) {
H A DT7178324.java32 import java.io.FileInputStream;
40 try (FileInputStream is = new FileInputStream(f)) {
H A DT7022711.java13 try (DataInputStream is = new DataInputStream(new FileInputStream("x"))) {
21 DataInputStream is = new DataInputStream(new FileInputStream("x"));
/openjdk9/jdk/test/java/util/ResourceBundle/
H A DTestResource_de.java67 super(new FileInputStream("TestResource_de"));
/openjdk9/jdk/src/java.base/share/classes/java/io/
H A DFileReader.java33 * InputStreamReader on a FileInputStream.
37 * {@code FileInputStream}.
40 * @see FileInputStream
58 super(new FileInputStream(fileName));
72 super(new FileInputStream(file));
82 super(new FileInputStream(fd));
/openjdk9/jdk/src/java.base/share/classes/sun/security/action/
H A DOpenFileInputStreamAction.java33 * A convenience class for opening a FileInputStream as a privileged action.
38 implements PrivilegedExceptionAction<FileInputStream> {
50 public FileInputStream run() throws Exception {
51 return new FileInputStream(file);
/openjdk9/jdk/test/java/security/PrivilegedActionException/
H A DPrintWrappedException.java38 FileInputStream fis =
39 (FileInputStream) AccessController.doPrivileged(
42 return new FileInputStream("someFile");
/openjdk9/jdk/test/sun/security/util/Pem/
H A DPemEncoding.java24 import java.io.FileInputStream;
29 try (FileInputStream fis = new FileInputStream(args[0])) {
/openjdk9/jdk/test/java/io/FileInputStream/
H A DOpsAfterClose.java27 * @summary Test if FileInputStream methods will check if the stream
35 READ { boolean check(FileInputStream r) {
45 READ_BUF { boolean check(FileInputStream r) {
55 READ_BUF_OFF { boolean check(FileInputStream r) {
66 GET_CHANNEL { boolean check(FileInputStream r) {
70 GET_FD { boolean check(FileInputStream r) {
79 SKIP { boolean check(FileInputStream r) {
88 CLOSE { boolean check(FileInputStream r) {
98 abstract boolean check(FileInputStream r);
109 FileInputStream fi
[all...]
H A DAvailable.java37 FileInputStream fis = new FileInputStream(file);
H A DOpenDir.java37 // Perform the same test for FileInputStream, FileOutputStream
39 FileInputStream fs = null;
40 // This test attempts to FileInputStream.open(".")
43 fs = new FileInputStream(".");
45 Exception("FileInputStream.open should not work on dirs");
/openjdk9/jdk/test/java/io/Serializable/skippedObjCNFException/
H A DRead.java47 FileInputStream in = new FileInputStream("tmp.ser");
/openjdk9/jdk/test/java/io/Serializable/unresolvedClassDesc/
H A DRead.java35 FileInputStream in = new FileInputStream("tmp.ser");
/openjdk9/jdk/test/java/io/DataInputStream/
H A DReadFully.java37 FileInputStream in = new FileInputStream(file);
/openjdk9/jdk/test/java/io/File/
H A DEmptyPath.java42 FileInputStream fis = new FileInputStream(f);
/openjdk9/jdk/test/java/io/Serializable/classDescFlagConflict/
H A DRead.java45 FileInputStream in = new FileInputStream(f);
/openjdk9/jdk/test/java/io/Serializable/backRefCNFException/
H A DRead.java41 FileInputStream in = new FileInputStream("tmp.ser");
/openjdk9/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DClosedStreams.java34 import java.io.FileInputStream;
41 (new FileInputStream(FileDescriptor.in)).close();
/openjdk9/jdk/test/java/security/BasicPermission/
H A DSerialVersion.java39 try (FileInputStream fis = new FileInputStream(sFile);
48 try (FileInputStream fis = new FileInputStream(sFile);
56 try (FileInputStream fis = new FileInputStream(sFile);
72 try (FileInputStream fis = new FileInputStream("SerialVersion.current");
/openjdk9/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/image/
H A DPNGImageLoader.java26 import java.io.FileInputStream;
43 return new PNGDecoder(new FileInputStream(fileName)).decode();
/openjdk9/jdk/test/java/net/ServerSocket/
H A DSelectFdsLimit.java35 import java.io.FileInputStream;
50 static FileInputStream [] testFIS;
64 testFIS = new FileInputStream[FDTOOPEN];
68 FileInputStream fis = new FileInputStream(f);
/openjdk9/jdk/test/java/io/Serializable/fieldTypeString/
H A DRead.java47 FileInputStream in = new FileInputStream("foo.ser");
63 in = new FileInputStream("bar.ser");
/openjdk9/jdk/test/java/io/Serializable/illegalHandle/
H A DTest.java41 FileInputStream in = new FileInputStream(f);
55 in = new FileInputStream(f);

Completed in 216 milliseconds

1234567891011>>