You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix blocking call in static StartupMessage initializer
We now no longer use ZoneId.systemDefault() to determine the system timezone to avoid blocking I/O and use TimeZone.getDefault() instead. ZoneId attempts to resolve its zone information from TzdbZoneRulesProvider which uses a file (tzdb.dat) that contains timezone information. Since TzdbZoneRulesProvider opens the file in its constructor we have no other way to override the blocking behavior therefore we use the legacy API which does not use files at all.
[resolves#275]
0 commit comments