Hi all,

Bug Id :  https://bugs.openjdk.java.net/browse/JDK-8160681

Issue:  Epoch day  parameter to LocalDate.ofEpochDay()  was not validating

Webrev: http://cr.openjdk.java.net/~bgopularam/ntv/8160681/webrev.00/

Tests are already covered under *f**actory_ofEpochDay_aboveMax()* , *factory_ofEpochDay_belowMin()* .

Error was obscured. It was throwing *DateTimeException *because of internally calculated YEAR was going out of range. Now it will throw exception due to expected issue 'epoch day is out of range'.

--
Thanks and Regards,
Nadeesh TV

Reply via email to