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

TimeZone country/area message error

XMLWordPrintable

    • b80
    • x86
    • windows_xp
    • Verified

        FULL PRODUCT VERSION :
        j2sdk1.4.2_12

        ADDITIONAL OS VERSION INFORMATION :
        windows xp professional

        A DESCRIPTION OF THE PROBLEM :
        In the java.util.TimeZone class, the display name is wrong.
        For example:
        Locale loc=new Locale("zh","tw");
        TimeZone tz=TimeZone.getTimeZone( "Asia/Taipei" );
        System.out.println( tz.getDisplayName(loc) );

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        Attached seperatly

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Execute the code above

        REPRODUCIBILITY :
        This bug can be reproduced always.

        CUSTOMER SUBMITTED WORKAROUND :
        Fix the java.util.TimeZone class source. Replace the display name as
        the correct name

              jennyh Jenny Huang (Inactive)
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: