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

File.isDirectory() opens a 'java.exe - no medium' dialog for removeable drive (win)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2
    • core-libs
    • x86
    • windows_nt

      Name: skT88420 Date: 01/31/2000


      java version "1.2.2"
      Classic VM (build JDK-1.2.2-W, native threads, symcjit)

      if you want to test a File object representing a removeable drive ( with no
      Medium inserted ) with methods like isDirectory(), canWrite(),.. java.exe
      creates a Dialog 'no medium'.
       
      Is it possible to throw a Exception for this reason? I think it would give more
      flexibility in software design.
      (Review ID: 100561)
      ======================================================================

            alanb Alan Bateman
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: