Hi,

                Please review the following fix for jdk9.

Bug:https://bugs.openjdk.java.net/browse/JDK-8081794
Webrev:http://cr.openjdk.java.net/~psadhukhan/naveen/webrev/


Issue:
a malformed TimeZone will prevent parsing the date, but not set the correct errorIndex in ParsePosition

Fix:
remove incorrect update of "pos.index = -i" from subParse function in SimpleDateFormat.java, which (pos.index) is later used to update error index as "origPos.errorIndex = pos.index;"


regards
Naveen Kumar

Reply via email to