[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#554017: sun-java6-bin: Timezone FAIL on DST fall-back

Package: sun-java6-bin
Version: 6-12-1
Severity: normal

Timezone change out of Daylight time occurred an hour early; this bug was unanticipated and as a result caused serious issues with a realtime application.

String t_before = '20091101T005400';
String t_after =  '20091101T010400';
SimpleDateFormat inp = new SimpleDateFormat("yyyyMMdd'T'HHmmss");
Date db = inp.parse( t_before );
Date da = inp.parse( t_after );
SimpleDateFormat out = new SimpleDateFormat("Z");
System.print( out.format(db ) );
System.print( out.format(da ) );

prints -0400 for db and -0500 for da
Daylight time should not revert until TWO a.m!

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-686 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sun-java6-bin depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  sun-java6-jre                 6-12-1     Sun Java(TM) Runtime Environment (
ii  unixodbc                      2.2.11-16  ODBC tools libraries

Versions of packages sun-java6-bin recommends:
ii  libasound2                    1.0.16-2   ALSA library
ii  libnss-mdns                   0.10-3     NSS module for Multicast DNS name 
ii  libx11-6                      2:1.1.5-2  X11 client-side library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxi6                        2:1.1.4-1  X11 Input extension library
ii  libxtst6                      2:1.0.3-1  X11 Testing -- Resource extension 

Versions of packages sun-java6-bin suggests:
pn  binfmt-support                <none>     (no description available)

-- debconf information:
* shared/accepted-sun-dlj-v1-1: true
* shared/present-sun-dlj-v1-1:

Reply to: