HI all,

Please review this trivial fix for Bug  - 
https://bugs.openjdk.java.net/browse/JDK-8148570

Bug Description - While compiling and building TZDB data file(tzdata2016a) when 
transition rule(for Iran) doesn't have the day-of-week data a null pointer 
exception is thrown.

Webrev - http://cr.openjdk.java.net/~rpatil/8148570/webrev.00/

Fix - While getting value from DayOfWeek, -1 is returned if the DayOfWeek is 
null. The reason to return "-1" being, the same value is checked later while 
getting day-of-week byte (dowbyte) at line no. 251, ZoneRules.java.

 

Regards,

Ramanand.

 

 

Reply via email to