RFR 8025971 and 8026197
Stephen Colebourne
scolebourne at joda.org
Thu Oct 17 22:16:08 UTC 2013
On 17 October 2013 22:14, Xueming Shen <xueming.shen at oracle.com> wrote:
> On 10/17/2013 02:01 PM, Stephen Colebourne wrote:
>>
>> I'm happy with the contents of this webrev.
>>
>> As pointed out previously, it doesn't address the specific issue in
>> 8025971
>
> I will file a separate issue to address the issue. I would assume you are
> recommending
> to complete remove these three short ids from jvm?
I'm recommending removing these three IDs from ZoneId. For example:
ZoneId.of("HST") should throw an exception
ZoneId.of("HST", SHORT_IDS) should succeed and return the matching
ZoneOffset UTC-10:00
TimeZone.of("HST") should succeed and return an offset-based TimeZone
with the HST ID
TimeZone.of("HST").toZoneId() should succeed and return the matching
ZoneOffset UTC-10:00
TimeZone.of("HST").toZoneId() with old mappings flag equal to true
should succeed and return the Honolulu zone.
Thus, myZoneId.getId() will never return "HST".
Stephen
More information about the core-libs-dev
mailing list