[jdk8u] RFR: 8290832: It is no longer possible to change "user.dir" in the JDK8

Andrew John Hughes andrew at openjdk.org
Sat Jul 30 16:53:06 UTC 2022


On Fri, 29 Jul 2022 03:46:56 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> 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.
> 
> This PR reverts this commit: https://github.com/openjdk/jdk8u/commit/5fcfb7acbe340c8347bd47413a36dd0b1e267dc1

Ah, right, sorry I should have checked the current state of the files. Both were updated by the security fix JDK-8278356.

I've approved the bug (flipped it to a `jdk8u-critical-fix/yes` to reflect it going direct to 8u, not 8u-dev) and the release bump is in now, so this is good to go.

-------------

Marked as reviewed by andrew (Reviewer).

PR: https://git.openjdk.org/jdk8u/pull/14


More information about the jdk8u-dev mailing list