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

user.timezone not initialized correctly on Solaris when TZ is not set

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • core-libs



      Name: gm110360 Date: 10/09/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
      Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)


      When running a JVM when an environment varilable TZ is not set, the property
      user.timezone is not set at all and the default TimeZone ends up as GMT-08:00.

      The variable TZ is not always set (for example, when using rlogin to login
      to a machine), but even when it's not set, native utilities such as "date" or
      Tcl can still display the correct timezone. It would be good if Java could
      figure out the time zone in the same robust way as the native tools.
      (Review ID: 133432)
      ======================================================================

            okutsu Masayoshi Okutsu
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: