JDK-4037446 : TimeZone default is wrong -- hides bugs
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 1.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.5.1
  • CPU: sparc
  • Submitted: 1997-03-07
  • Updated: 1997-10-23
  • Resolved: 1997-10-23
Related Reports
Duplicate :  
Description
The default time zone in TimeZone.getDefault is PST.  This means that if the code fails to find the local time zone it will default to JavaSoft's local time zone.  In other words, a failure will look just like correct behavior.

The default should be changed to GMT so that bugs will show up.  Also, GMT is a more neutral choice.

Comments
PUBLIC COMMENTS The default time zone in TimeZone.getDefault is PST. This means that if the code fails to find the local time zone it will default to JavaSoft's local time zone. In other words, a failure will look just like correct behavior. The default should be changed to GMT so that bugs will show up. Also, GMT is a more neutral choice.
10-06-2004