Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4250702

Dialog is displayed when an empty floppy drive is accessed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.1
    • core-libs
    • x86
    • windows_nt



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

            mmcclosksunw Michael Mccloskey (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: