Loading... (original) (raw)

if user defines -Duser.dir like "/home/a/b/c/",
new File("./a").getCanonicalPath
will crash in processing double '/'

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8283438 System property user.dir should not be changed

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8352443 System property user.dir should not be changed

duplicates

Bug - A problem which impairs or prevents the functions of the product. JDK-8176456 Clearing system property user.dir causes File methods to throw NPE

relates to

Sub-task - The sub-task of the issue JDK-8291662 Release Note: Restoring Previous `user.dir` Property Behaviour

Bug - A problem which impairs or prevents the functions of the product. JDK-8290832 It is no longer possible to change "user.dir" in the JDK8

Bug - A problem which impairs or prevents the functions of the product. JDK-8291568 Bump update version of OpenJDK: 8u345

Bug - A problem which impairs or prevents the functions of the product. JDK-8198997 Cache normalized/resolved user.dir property

links to

Commit Commit openjdk/jdk8u-dev/5fcfb7ac

Review Review openjdk/jdk8u-dev/8

(2 relates to, 2 links to)