Details
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8283438 | openjdk8u342 | Dongbo He | P3 | Resolved | Fixed | b01 |
Description
if user defines -Duser.dir like "/home/a/b/c/",
new File("./a").getCanonicalPath
will crash in processing double '/'
new File("./a").getCanonicalPath
will crash in processing double '/'
Attachments
Issue Links
- backported by
-
JDK-8283438 System property user.dir should not be changed
-
- Resolved
-
- duplicates
-
JDK-8176456 Clearing system property user.dir causes File methods to throw NPE
-
- Resolved
-
- relates to
-
JDK-8198997 Cache normalized/resolved user.dir property
-
- Closed
-