Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.1
-
Component/s: client-libs
-
Subcomponent:
-
Resolved In Build:1.1fcs
-
CPU:generic
-
OS:generic
-
Verification:Not verified
Description
masayoshi.okutsu@Eng 1996-12-19
FileDialog.setDirectory() doesn't work with a directory name in Han
characters on Japanese Solaris and Japanese Win95.
You can reproduce the bug with the following program.
import java.awt.*;
public class fd {
public static void main(String args[]) {
Frame g = new Frame("");
FileDialog f = new FileDialog(g, "\u732b", FileDialog.LOAD);
f.setDirectory("\u732b");
f.pack();
f.show();
f.dispose();
}
}
and suppose the current directory contains "\u732b" directory.
If you run this code, it beeps twice, and FileDialog can't set its
directory to "\u732b".
FileDialog.setDirectory() doesn't work with a directory name in Han
characters on Japanese Solaris and Japanese Win95.
You can reproduce the bug with the following program.
import java.awt.*;
public class fd {
public static void main(String args[]) {
Frame g = new Frame("");
FileDialog f = new FileDialog(g, "\u732b", FileDialog.LOAD);
f.setDirectory("\u732b");
f.pack();
f.show();
f.dispose();
}
}
and suppose the current directory contains "\u732b" directory.
If you run this code, it beeps twice, and FileDialog can't set its
directory to "\u732b".