On Solaris, <lang>.<encoding> locale can't be recorgnized by VM

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.1.6
    • Affects Version/s: 1.1.5
    • Component/s: core-libs
    • 1.1.6
    • sparc
    • solaris_2.5.1
    • Verified

        On Solaris, <lang>.<encoding> locale, such as zh.GBK, can't be recorgnized by VM. Following java program will display "en".

        import java.util.*;

        class GetLocale {
            public static void main(String[] args)
            {
                System.out.println(Locale.getDefault());
            }
        }

              Assignee:
              Limin Shi (Inactive)
              Reporter:
              Limin Shi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: