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
Fri Mar 9 16:00:01 UTC 2012
Issue seen on somewhat irregular linux system configuration where /etc/localtime is a symbolic link to a directory outside of /usr/share/zoneinfo.
In past, when a symbolic link was seen, the end target file was assumed to be under /usr/share/zoneinfo and a string comparison match was attempted. We need to factor in the case where symbolic link points to any other location and match the end target file with a TZ file from
/usr/share/zoneinfo via findZoneinfoFile function.
webrev : http://cr.openjdk.java.net/~coffeys/webrev.7149608.jdk8/
bug report : http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7149608
regards,
Sean.
More information about the core-libs-dev
mailing list