[jdk8u-dev] Integrated: 8194154: System property user.dir should not be changed
Dongbo He
dongbohe at openjdk.java.net
Mon Mar 21 06:18:39 UTC 2022
On Thu, 17 Mar 2022 09:04:07 GMT, Dongbo He <dongbohe at openjdk.org> wrote:
> Hi,
>
> Please review the backport of JDK-8194154 to 8u.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8194154
> Original commit: [http://hg.openjdk.java.net/jdk/jdk/rev/847a988152b8](https://hg.openjdk.java.net/jdk/jdk/rev/847a988152b8)
> 8u webrev: https://cr.openjdk.java.net/~dongbohe/8194154/webrev.00/
>
> Patch doesn't apply cleanly but is trivial, because JDK-8154231[1] and JDK-8155775[2] does not exist in 8,
> and some copyright year conflicts.
>
> Testing: checked that added test fails without the patch and passes with the patch, tested with tier1.
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8154231
> [2] https://bugs.openjdk.java.net/browse/JDK-8155775
>
> Original RFR email: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2022-January/014497.html
>
> Thanks,
> hedongbo
This pull request has now been integrated.
Changeset: 5fcfb7ac
Author: Dongbo He <dongbohe at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.java.net/jdk8u-dev/commit/5fcfb7acbe340c8347bd47413a36dd0b1e267dc1
Stats: 69 lines in 3 files changed: 65 ins; 0 del; 4 mod
8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.
Reviewed-by: sgehwolf
Backport-of: 4ea684bf31fc4e3cdee2ae51c0000a7b3e914151
-------------
PR: https://git.openjdk.java.net/jdk8u-dev/pull/8
More information about the jdk8u-dev
mailing list