JDK-8062361 : Incorrect standard timezone detection for Belarus
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 7u67,8u40
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2014-10-28
  • Updated: 2014-12-18
  • Resolved: 2014-12-18
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows 7 ultimate (6.1)

A DESCRIPTION OF THE PROBLEM :
Java detects Belorussian timezone (+3:00 Minsk) as Brasilian

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Set windows timezone (UTC+03:00) Minsk
2. Run code
System.out.println(TimeZone.getDefault().getDisplayName());

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Timezone detected as Belorussian time
ACTUAL -
"Brasilia Time" printed

REPRODUCIBILITY :
This bug can be reproduced always.

SUPPORT :
YES


Comments
The problem has been fixed in 7u80 (JDK-8060006).
18-12-2014

When I update my win 7 enterprise with the latest windows update, the bug can be reproduced. 7u67, 7u76: timezone ID: America/Bhhia Display Name: Brasilia Time In 8u40, the timezone ID is correct timezone ID: Europe/Minsk Display Name: Moscow Standard Time
18-12-2014

When compiled with 7u67, the time zone printed is - Further-eastern European Time With 8u40, it says - Eastern European Time I never observed Brasilia time as reported by the submitter. Still passing this on for further review.
29-10-2014