JDK-4250702 : Dialog is displayed when an empty floppy drive is accessed.
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.2.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-06-30
  • Updated: 1999-10-28
  • Resolved: 1999-10-28
Related Reports
Duplicate :  
Description

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) 
======================================================================