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)
======================================================================
- duplicates
-
JDK-4185525 java.io: Cannot create files with full Unicode names (Win32/NT)
-
- Resolved
-