RFR 9: 8067800: Unexpected DateTimeException in the java.time.chrono.HijrahChronology.isLeapYear
Stephen Colebourne
scolebourne at joda.org
Wed Feb 4 01:05:47 UTC 2015
-1
As I indicated on JIRA, I don't believe that this change meets the
spec or intent of the definition on Chronology. That is specified to
not throw any exceptions and to handle all years, valid or not.
I don't foresee any significant issue where a year is not validated by
this method. Years out of range should simply return false, again
something that is within the spirit of the spec "a chronology that
does not support the concept of a year must return false."
Stephen
On 3 February 2015 at 20:56, Lance Andersen <lance.andersen at oracle.com> wrote:
> +1
> On Feb 3, 2015, at 3:45 PM, Roger Riggs <Roger.Riggs at oracle.com> wrote:
>
>> Please review this specification clarification of the range of Hijrah calendar variants.
>> The issue was exposed by a bug in the HijrahChronology.isLeapYear method.
>>
>> Webrev:
>> http://cr.openjdk.java.net/~rriggs/webrev-leap-year-8067800/
>>
>> Issue:
>> https://bugs.openjdk.java.net/browse/JDK-8067800
>>
>> A CCC may be needed.
>>
>> Thanks, Roger
>>
>
>
>
> Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
> Oracle Java Engineering
> 1 Network Drive
> Burlington, MA 01803
> Lance.Andersen at oracle.com
>
>
>
More information about the core-libs-dev
mailing list