-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.4.0, 1.4.2
-
x86, sparc
-
solaris_7, windows_2000
Name: jl125535 Date: 04/09/2003
FULL PRODUCT VERSION :
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)
Interestingly, everything is ok with:
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 Service Pack 2 [Version 5.00.2195]
with the German locale setting
java.util.Locale.getDefault() correctly yields "de_DE"
A DESCRIPTION OF THE PROBLEM :
Filenames with certain unicode characters are not correctly
translated to the platform. Problem characters include "u0084" (double
low-9 quotation mark) and "\u0093" (left double quotation mark)
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
works ok.
REGRESSION. Last worked in version 1.3
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile Code
2. Run
3. Look for the generated file in Explorer
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected: A file with filename of >>òÁ?FilenameòÁ?<<
Actual: A file with filename of >>äFilenameô<<
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.io.FileOutputStream;
import java.io.File;
public class FileError {
public FileError() {
}
public static void main(String[] args) {
String filename = "\u0084Filename\u0093";
File file = new File(filename);
try {
FileOutputStream out = new FileOutputStream(file);
out.close();
}
catch (Exception ex) {
}
}
}
---------- END SOURCE ----------
Release Regression From : 1.3.1_04
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Review ID: 163319)
======================================================================
###@###.### 2003-04-10
FULL PRODUCT VERSION :
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)
Interestingly, everything is ok with:
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 Service Pack 2 [Version 5.00.2195]
with the German locale setting
java.util.Locale.getDefault() correctly yields "de_DE"
A DESCRIPTION OF THE PROBLEM :
Filenames with certain unicode characters are not correctly
translated to the platform. Problem characters include "u0084" (double
low-9 quotation mark) and "\u0093" (left double quotation mark)
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
works ok.
REGRESSION. Last worked in version 1.3
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile Code
2. Run
3. Look for the generated file in Explorer
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected: A file with filename of >>òÁ?FilenameòÁ?<<
Actual: A file with filename of >>äFilenameô<<
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.io.FileOutputStream;
import java.io.File;
public class FileError {
public FileError() {
}
public static void main(String[] args) {
String filename = "\u0084Filename\u0093";
File file = new File(filename);
try {
FileOutputStream out = new FileOutputStream(file);
out.close();
}
catch (Exception ex) {
}
}
}
---------- END SOURCE ----------
Release Regression From : 1.3.1_04
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Review ID: 163319)
======================================================================
###@###.### 2003-04-10
- relates to
-
JDK-4185525 java.io: Cannot create files with full Unicode names (Win32/NT)
-
- Resolved
-
-
JDK-4733494 File.exists() fails with unicode characters in name
-
- Closed
-