RFR 8198997: Cache normalized/resolved user.dir property

Brian Burkhalter brian.burkhalter at oracle.com
Tue Mar 13 19:33:38 UTC 2018


On Mar 13, 2018, at 12:24 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> As relative paths are command then it might be simpler to just change the static initializer

Static initializer or constructor?

> to initialize userDir to normalize(props.getProperty("user.dir")).

I was originally going to put that in the constructor but did not know about calling the normalize() instance method from the ctor.

Brian


More information about the core-libs-dev mailing list