-
Enhancement
-
Resolution: Fixed
-
P4
-
7u67, 8, 9
-
b36
-
x86_64
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085074 | emb-9 | Masayoshi Okutsu | P4 | Resolved | Fixed | team |
JDK-8063919 | 8u45 | Masayoshi Okutsu | P4 | Resolved | Fixed | b01 |
JDK-8060451 | 8u40 | Masayoshi Okutsu | P4 | Resolved | Fixed | b12 |
JDK-8069916 | emb-8u47 | Masayoshi Okutsu | P4 | Resolved | Fixed | team |
JDK-8072321 | 7u85 | Masayoshi Okutsu | P4 | Resolved | Fixed | b01 |
JDK-8060700 | 7u80 | Aleksej Efimov | P4 | Resolved | Fixed | b03 |
JDK-8060701 | 6u101 | Aleksej Efimov | P4 | Resolved | Fixed | b01 |
JDK-8069027 | 6u95 | Aleksej Efimov | P4 | Resolved | Fixed | b04 |
There is no timesones mapping for newly added Russian Timezones in JDK for Windows. New timezones key value in Windows registry (TimeZoneKeyName) should looks like "Russian Time Zone 1..11" after 26 october 2014. You can read about this here:
http://blogs.technet.com/b/dst2007/archive/2014/08/22/announcement-update-for-russian-time-zone-changes.aspx
But there is no record for this key in file %JAVA_HOME%/jre/lib/tzmappings.
JDK was patched with Java Time Zone Updater Tool tzupdater-1_4_7-2014g.zip
JUSTIFICATION :
Wrong time possible in java-applications after 26.oractober.2014
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Current java's timezone should be mapped to OS timesone.
ACTUAL -
For date 27.october.2014 and "Russian Timezone 3" selected in Windows result of test case is "timezoneAmerica/Bahia" but shoul be "Europe\Samara"
---------- BEGIN SOURCE ----------
TimeZone tz = TimeZone.getTimeZone(java.util.TimeZone.getDefault().getID());
StringBuilder timeZoneStr = new StringBuilder();
timeZoneStr.append("Current timzone: ").append("( GMT ").append(tz.getRawOffset() / (60 * 60 * 1000)).append(" ) ").append(tz.getDisplayName());
tzList.add(timeZoneStr.toString());
System.out.println(timeZoneStr.toString());
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
manual editing of the file %JAVA_HOME%/jre/lib/tzmappings
- backported by
-
JDK-8060451 No Russian time zones mapping for Windows
-
- Resolved
-
-
JDK-8060700 No Russian time zones mapping for Windows
-
- Resolved
-
-
JDK-8060701 No Russian time zones mapping for Windows
-
- Resolved
-
-
JDK-8063919 No Russian time zones mapping for Windows
-
- Resolved
-
-
JDK-8069027 No Russian time zones mapping for Windows
-
- Resolved
-
-
JDK-8069916 No Russian time zones mapping for Windows
-
- Resolved
-
-
JDK-8072321 No Russian time zones mapping for Windows
-
- Resolved
-
-
JDK-8085074 No Russian time zones mapping for Windows
-
- Resolved
-
- duplicates
-
JDK-8076296 Windows set to Minsk timezone - java returns America/Bahia
-
- Closed
-
-
JDK-8062361 Incorrect standard timezone detection for Belarus
-
- Closed
-
-
JDK-8062757 JAVA need updated "tzmappings" for kb2998527
-
- Closed
-