RFR: 8194154: JDK crashes parsing path string contains '//' on linux

yumin qi yumin.qi at gmail.com
Fri Feb 16 20:35:00 UTC 2018

On Fri, Feb 16, 2018 at 3:52 AM, Alan Bateman <Alan.Bateman at oracle.com>

> On 15/02/2018 20:28, yumin qi wrote:
>> :
>>     Since the property string contains non-normalized characters, it
>> crashed in native canonicalize.
>>     I believe user.dir from the system is normalized, so it is OK but
>> after it is changed like "/home/a/b/c/", it crashed.
>>     Now with using cached "user.dir", the problem is gone.
>>     :
>>     So the changes in resolve should be removed.
>>     Since the bug is talking about the crash, the real reason is user.dir
>> should not be changed, how about changing description to
>>     8194154: System property user.dir should not be changed.
>>      The test case renamed to: UserDirChangedTest.java   ?
>> Thanks for the confirming. Yes, changing the bug description and test
> should be good and if you can post an updated webrev then I assume we can
> wrap this one up quickly.
> Updated bug,  and update webrev at same link:


More information about the core-libs-dev mailing list