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

Documentation on class RuleBasedCollator contains errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • docs
    • beta2
    • generic
    • generic



      Name: krC82822 Date: 11/20/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      The text in class RuleBasedCollator contains several 'foreign'
      characters. It seems that some tool used in preparing the
      HTML has replaced some characters with the '?' character,
      thus rendering some explanations unusable.
      Excerpt:
       // add a few Japanese character to sort before English characters
       // suppose the last character before the first base letter 'a' in
       // the English collation rule is ?
          String jaString = "& ? < ?, ? < ?, ?";
          RuleBasedCollator myJapaneseCollator = new
              RuleBasedCollator(en_USCollator.getRules() + jaString);
      (Review ID: 107060)
      ======================================================================

            shommel Scott Hommel (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: