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

[Col] CollationRules should avoid new String(String)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P5
    • Resolution: Fixed
    • 7
    • 8
    • core-libs
    • b55
    • generic
    • generic

    Description

      CollationRules calls new String(String) which should be avoided.

      final class CollationRules {
          final static String DEFAULTRULES = new String(
              "" // no FRENCH accent order by default, add in French Delta
              // IGNORABLES (up to first < character)
              // COMPLETELY IGNORE format characters
              + "='\u200B'=\u200C=\u200D=\u200E=\u200F"
              ...

      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              okutsu Masayoshi Okutsu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: