RFR 8198997: Cache normalized/resolved user.dir property

Brian Burkhalter brian.burkhalter at oracle.com
Wed Mar 21 18:02:05 UTC 2018


Ping …

On Mar 13, 2018, at 12:33 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

> 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.



More information about the core-libs-dev mailing list