Duplicate :
|
Name: mc57594 Date: 06/29/99 The following code works correctly in jdk 1.0.2. In other words, when no floppy is in the a: drive, an exception is thrown. However, in 1.1.7 this causes a blocking dialog to be displayed! This dialog, which presents abort, retry, and ignore buttons, should not be displayed. import java.io.*; public class TestFloppy { public static void main(String args[]) { try { FileInputStream fis = new FileInputStream("a:"); fis.close(); } catch (Exception e) { e.printStackTrace(); } } } (Review ID: 85003) ======================================================================