[Review Request] 8008161: Regression: j.u.TimeZone.getAvailableIDs(rawOffset) returns non-sorted list
masayoshi.okutsu at oracle.com
Wed Feb 13 23:46:44 UTC 2013
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.
On 2/14/2013 4:02 AM, Xueming Shen wrote:
> 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.
> Please help review.
More information about the core-libs-dev