[jdk8u-dev] RFR: JDK-8290832: It is no longer possible to change "user.dir" in the JDK8 [v2]
Sergey Bylokhov
serb at openjdk.org
Fri Jul 22 17:49:15 UTC 2022
> This is the request to revert the fix for [JDK-8194154](https://bugs.openjdk.org/browse/JDK-8194154) integrated to the [openjdk8u342](https://github.com/openjdk/jdk8u/commit/5fcfb7acbe340c8347bd47413a36dd0b1e267dc1)
>
> The fix for [JDK-8194154](https://bugs.openjdk.org/browse/JDK-8194154) disabled the possibility to change the "user.dir" property.
> Changing the "user.dir" was not recommended from the beginning but it was not forbidden, so there are some old applications that rely on the old behavior.
>
> For compatibility reasons, it would be good to restore the old behavior.
>
> Note that the test is simplified and saved under a different name, now it will check just the possibility to change the 'user.dir' using a simple path and name.
Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
Delete ChangeDefaultUserDir.java
-------------
Changes:
- all: https://git.openjdk.org/jdk8u-dev/pull/88/files
- new: https://git.openjdk.org/jdk8u-dev/pull/88/files/1f51111d..b2d52666
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=88&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=88&range=00-01
Stats: 52 lines in 1 file changed: 0 ins; 52 del; 0 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/88.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/88/head:pull/88
PR: https://git.openjdk.org/jdk8u-dev/pull/88
More information about the jdk8u-dev
mailing list