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

Collator.IDENTICAL documented but not implemented

XMLWordPrintable

    • 1.1.6
    • x86, sparc
    • solaris_2.5.1, windows_nt
    • Verified



        Name: bb33257 Date: 05/27/97


        The following is from the taligent.products.unicode newsgroup.
        We need to either remove IDENTICAL, or implement it.
        ------
        Hi,
        In jdk111 doc, it mentioned that the collator strength can be set to
        Primary, Secondary, Tertiary and Identical.
        I would like to make all differences to be considered significant during
        comparison therefore we set the strength to IDENTICAL but this causes
        IllegalArgumentException thrown by the Collator.setStrength(). I found that
        the exception was thrown due to the fact that IDENTICAL is not supported by
        setStrength() in Collator.java.

        Is this a bug?
        May I know how I can achieve my goal of making all differences significant
        during comparison ?

        Thank you.

        Mei
        ======================================================================

              joconnersunw John Oconner (Inactive)
              bcbeck Brian Beck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: