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

Dialog is displayed when an empty floppy drive is accessed.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: