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

RFE: Support both traditional and modern sort orders for Spanish and German

XMLWordPrintable

    • generic, unknown, sparc
    • generic, solaris_2.5.1


      STEPS:

      1. compile and run this source

      -----
      import java.text.Collator;
      import java.util.Locale;

      public class b {

        public static void main(String args[]) {

          Collator col = Collator.getInstance(new Locale("es", "ES"));
          System.out.println(col.compare("cx", "chx"));
        }
      }
      -----

      On 1.1.5 or prior this retruns "-1". But 1.1.6 "G" and 1.2 beta3 "I", returns "1".

      koushi.takahashi@japan 1998-02-26

      ---------
      The result returns the "1" on kestrel-linux-rc1-b10

      keiko.nakayama@Eng 2000-07-17

      ----------
      That sample code returns "1" on 1.3.0-beta_refresh any Solaris versions (both sparc and intel)
      >java -fullversion
      java full version "1.3.0-beta_refresh"
       
      osamu.numayama@Japan 2000-08-02

      ----------

            joconnersunw John Oconner (Inactive)
            ktakahassunw Koushi Takahashi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: