[Review Request] 8008161: Regression: j.u.TimeZone.getAvailableIDs(rawOffset) returns non-sorted list (original) (raw)
Masayoshi Okutsu masayoshi.okutsu at oracle.com
Wed Feb 13 23:46:44 UTC 2013
- Previous message: [Review Request] 8008161: Regression: j.u.TimeZone.getAvailableIDs(rawOffset) returns non-sorted list
- Next message: hg: jdk8/tl/jdk: 8007755: Support the logical grouping of keystores
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The change is fine. But it's neither the spec nor guaranteed in the previous implementation to return a sorted list. The caller needed to sort the return value if a sorted list is required.
Masayoshi
On 2/14/2013 4:02 AM, Xueming Shen wrote:
Hi,
This is the "regression" triggered by my changeset 8007572: Replace existing jdk timezone data at <java.home>/lib/zi with JSR310's tzdb. While the specification does not specify that the returned list from j.u.TimeZone.getAvailableIDs(rawOffset) should be sorted, this has been the implementation for years. It appears there are at least some tests may have dependency on this. Here is the webrev to restore the existing behavior. http://cr.openjdk.java.net/~sherman/8008161/webrev Please help review. Thanks! -Sherman
- Previous message: [Review Request] 8008161: Regression: j.u.TimeZone.getAvailableIDs(rawOffset) returns non-sorted list
- Next message: hg: jdk8/tl/jdk: 8007755: Support the logical grouping of keystores
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]