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

File not found exception when trying to access macintosh files on NT

XMLWordPrintable

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



      Name: bsC130419 Date: 08/23/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
      Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

      Each line of the following code throws "FileNotFoundException".

      FileInputStream resourceIn = new FileInputStream("V:\\mac\uF021in");
      FileOutputStream resourceOut = new FileOutputStream("V:\\mac\uF021out" );

      I was trying to access an existing macintosh file of name "mac*in" and write to
      a new file that has a macintosh file with file name "mac*out". The "V:" drive
      is a drive on NT4.0 server that is shared with a macintosh over Microsoft SFM (
      Service For Macintosh). SFM maps a macintosh "*" to unicode "\uF021" on NT. Sun
      JVM should handle these kind of NT specific stuff for developers.

      The same lines of code work perfectly fine with Microsoft JVM.
      (Review ID: 130556)
      ======================================================================

            kkladkosunw Konstantin Kladko (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: