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

In jdk1.2fcs-K, BreakIterator.getAvailableLocales() returns empty list

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      sparc
    • OS:
      solaris_2.5, solaris_2.6
    • Verification:
      Verified

      Description

      JDK Version: 1.2fcs-K
      OS: Solaris, win95, winNT
      Locale: zh, C

      In jdk1.2fcs-K, getAvailableLocales() has no return value.

      Following is a program to reproduce this problem.

      import java.util.*;
      import java.text.*;

      public class CheckGetAvailableLocales {
          
          public static void main(String args[]) {
      new CheckGetAvailableLocales();
          }

          public CheckGetAvailableLocales() {
      Locale[] locales = BreakIterator.getAvailableLocales();
      String runtimeResult = "";
      for (int i = 0; i < locales.length; i ++) {
      runtimeResult = runtimeResult + locales[i].toString() + " ";
      }
      System.out.println("BreakIterator: getAvailableLocales() failed");
      System.out.println(" runtime result: " + runtimeResult);
      System.out.println(" " + Locale.getDefault().toString() + " " + "is not included");
          }
      }



      jim.hu@prc 1998-09-21

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nlindenbsunw Norbert Lindenberg (Inactive)
                Reporter:
                jhusunw Jim Hu (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: