calculatePeriods method changes default timezone and is not thread-safe

Steps to reproduce

See for description. calculatePeriods updates the JVM timezone temporarily, which can affect other threads executing concurrently that rely on the default timezone to be correct.

implemented a workaround which prevents the server from permanently being set to the wrong timezone.

This issue is for a proper solution.

Status

Assignee

Greg Logan

Reporter

Stephen Marquard

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure