[7u12] Request for approval for CR 7155168 - java/util/TimeZone/Bug6912560.java: expected Asia/Tokyo
Staffan Larsen
staffan.larsen at oracle.com
Tue Dec 4 04:58:19 PST 2012
This is a request to backport the fix for 7155168 to 7u12.
Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-November/012459.html
Changeset from jdk8: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/55f8ddc2f9c6
Description: The problem with the test is that it fails when running with Java Flight Recorder enabled. This is because JFR will call TimeZone.getDefault() when it starts up, before the main() method is called. This will cause TimeZone to cache the value so that when the test calls TimeZone.getDefault() it will get the old value. The solution here is to reset the value in the beginning of the test.
Thanks,
/Staffan
More information about the jdk7u-dev
mailing list