Description
FileInputStream fileIn = new FileInputStream(new File("c:/test.txt"));
FileInputStream fileIn2 = new FileInputStream(fileIn.getFD());
fileIn2.close();
fileIn.read();
This piece of code will throw IOException with RI but can pass with Harmony.
FileInputStream in = new FileInputStream(FileDescriptor.in);
in.close();
in = new FileInputStream(FileDescriptor.in);
in.read();
This piece of code also will throw IOException with RI but can pass with Harmony.