Need to document the behavior of File class, when the path is an empty string (""). Currently some methods use the pathname string of the current user directory, which is named by the system property user.dir. Others treat this as a bad path.
- relates to
-
JDK-8024695 new File("").exists() returns false whereas it is the current working directory
-
- Resolved
-
-
JDK-4231690 java.io.File has inconsistent behavior of the empty pathname
-
- Closed
-