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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1.6
    • 1.1.5
    • 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());
            }
        }

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: