<i18n dev> RFR : 7149608 (tz): Default TZ detection fails on linux when symbolic links to non default location used.

Seán Coffey sean.coffey at oracle.com
Mon Mar 12 08:11:39 PDT 2012


Yes - good catch. I hadn't tested the sym link being a relative path. We 
should always open whatever is pointed to from DEFAULT_ZONEINFO_FILE. 
This simplifies the code. Tested and looks good.

regards,
Sean.


On 12/03/12 14:34, Alan Bateman wrote:
> On 12/03/2012 14:31, Seán Coffey wrote:
>> Ok - good point on the stat change Alan. I think this is what you're 
>> after :
>>
>> http://cr.openjdk.java.net/~coffeys/webrev.7149608.jdk8.2/
>>
> At L295 then I assume itshould open DEFAULT_ZONEINFO_FILE, otherwise 
> if the sym link is a relative path then it would be opened relative to 
> the working directory rather than the link.
>
> -Alan.


More information about the i18n-dev mailing list