Loading... (original) (raw)

Issue Fix Version Assignee Priority Status Resolution Resolved In Build
JDK-8084299 emb-9 Roger Riggs P3 Resolved Fixed team

The spec for the java.time.chrono.HijrahChronology.eraOf() asserts:

"Later eras must have sequentially higher values. Earlier eras must have sequentially lower values."

https://docs.oracle.com/javase/8/docs/api/java/time/chrono/HijrahChronology.html#eraOf-int-

whereas

"The Hijrah calendar system has only one era covering the proleptic years greater than zero."

that may lead to misunderstanding.

https://docs.oracle.com/javase/8/docs/api/java/time/chrono/HijrahEra.html

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8084299 java.time.chrono.HijrahChronology.eraOf() assertions may lead to misunderstanding