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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.2
    • Component/s: 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)
      ======================================================================

            Assignee:
            Alan Bateman
            Reporter:
            Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: