The GitHub Actions job "Java CI" on 
commons-lang.git/fix/DateUtils_parseDateWithLeniency_time_zone has failed.
Run started by GitHub user garydgregory (triggered by garydgregory).

Head commit for run:
d442429160e142f83d03632489210b75020ed59d / Gary Gregory <[email protected]>
DateUtils.parseDateWithLeniency(String, Locale, String[], boolean)
doesn't reset its time zone

Calendar.clear() does not reset the time zone. A previous TZ-aware
pattern (for example, "z", "zz", "Z", "X..") that partially parsed could
have
mutated the calendar's time zone via Calendar.setTimeZone(...) before
failing on the remaining tokens. Restore the caller-supplied zone for
each
attempt so the outcome of pattern N+1 does not depend on the partial
state left by pattern N.

Report URL: https://github.com/apache/commons-lang/actions/runs/26040311967

With regards,
GitHub Actions via GitBox

Reply via email to