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

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

    XMLWordPrintable

    Details

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

      Description

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: