Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4092412

JVM sets user.timezone incorrectly.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.4
    • core-libs



      Name: rm29839 Date: 11/12/97


      JDK 1.0.2 Date class used native methods to handle
      timezone issues. JDK 1.1.4 uses TimeZone class
      which defines timezone tags which do not match
      that used in the zoneinfo database.

      In the case of Australia, the JVM initializes
      user.timezone to EST, but according to TimeZone.java
      that is somewhere in the U.S. AET is TimeZone.java's
      tag for Australian EST, but nothing else uses it.

      It would be much better if the JVM initiallized
      user.timezone to GMT[+-]nnnn and ignore
      the issue of timezone names - or go back to using
      a native method that does the right thing.

      Given all the above - and the fact that there
      appears to be _no_ documented standard (or default)
      location for properties that Java will load, JDK 1.1.x
      is totally broken in this regard.
      (Review ID: 19556)
      ======================================================================

            aliusunw Alan Liu (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: