diff -r 40c07de877ab src/hotspot/share/runtime/os.cpp --- a/src/hotspot/share/runtime/os.cpp Mon Jul 27 10:56:51 2020 +0200 +++ b/src/hotspot/share/runtime/os.cpp Wed Jul 29 16:16:20 2020 +0200 @@ -90,7 +90,7 @@ static time_t get_timezone(const struct tm* time_struct) { #if defined(_ALLBSD_SOURCE) - return time_struct->tm_gmtoff; + return -(time_struct->tm_gmtoff); #elif defined(_WINDOWS) long zone; _get_timezone(&zone);