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

NLS: throw unsupported timezone exception when system timezone is not in the supported list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • core-libs

      This request is related to OJEC (Oracle Java ME Embedded Client) bug 12303199 SUNBT6995790 NLS: throw unsupported timezone exception when system timezone
      is not in the supported list.

      It appears that when the selected timezone is not in the available timezone
      list, OJEC returns the GMT equivalent of it. There is a problem with this
      approach, because this does not take DST into considerations. A zone with
      DST cannot be represented with a GMT offset because the offset changes.

      When the selected timezone is not in the list of supported timezone, OJEC/Java SE
      should throw an unsupported timezone exception.

      The responsible Java ME engineer evaluated:
      @ returning GMT for an unsupported time zone is the behavior Java
      @ SE (through Java SE 7) exhibits. Please file a bug against Java SE. This
      @ issue will not be fixed in ME until it's fixed in SE (striving for SE/ME bug
      @ for bug compatibility).

            okutsu Masayoshi Okutsu
            mfang Michael Fang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: