Details
-
Bug
-
Resolution: Fixed
-
P3
-
5.0u1
-
b73
-
generic
-
generic
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2136290 | 5.0u8 | Xueming Shen | P3 | Resolved | Fixed | b01 |
JDK-2150212 | 1.4.2_18 | Vaibhav Choudhary | P3 | Resolved | Fixed | b05 |
JDK-2161010 | 1.4.2_17-rev | Vaibhav Choudhary | P3 | Resolved | Fixed | b10 |
Description
REPRODUCE :
(1) Compile the attached program
(2) Launch java command as follows on each platform
1) Solaris and Linux
Launch "java FiieCheck /dev/console"
2) Windows
Launch "java FileCheck con"
RESULT :
In (2) 1), the test program returns "false", but in(2) 2), returns true.
REQUESTs :
"con" represents console on windows
but done as normal file.
That should be treated as special file as on Solaris/linux.
CONFIGURATION :
JRE :
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
Platform :
- WindowsXP SP1(japanese )
- RedHatlinux 9.0(japanese)
- Solaris 8(japanese)
###@###.### 10/8/04 07:54 GMT
###@###.### 10/15/04 01:22 GMT
Attachments
Issue Links
- backported by
-
JDK-2136290 File.isFile() should return "false" for "con" on windows platform
-
- Resolved
-
-
JDK-2150212 File.isFile() should return "false" for "con" on windows platform
-
- Resolved
-
-
JDK-2161010 File.isFile() should return "false" for "con" on windows platform
-
- Resolved
-
- relates to
-
JDK-6655911 Remove java/io/File/WinDeviceName.java from 1.4.2_17 regression testbed
-
- Resolved
-
-
JDK-4190157 using "Con" as a class name causes a problem (reserved filename in Win32)
-
- Resolved
-
-
JDK-8022671 Revisit the Logic of Handling Devices In Java IO/NIO Functions
-
- Open
-
-
JDK-4858457 File.getCanonicalPath() throws IOException when invoked with "nul" (win)
-
- Closed
-