Name: bb33257 Date: 11/25/97
In the current JDK 1.1.6 build, we seem to have
some sort of obscure problem in the Greek collator.
To reproduce, do the following:
Collator collator = Collator.getInstance(new Locale("el", "GR", ""));
collator.setStrength(Collator.TERTIARY);
int dummy = collator.compare("\u03D4", "\u03AB");
The call to Collator.compare() above will blow up
with a NullPointerException. It appears that if
you compare any character with \u03AB, it fails,
sometimes with a NullPointerException, and
sometimes with an ArrayIndexOutOfBoundsException.
For what it's worth, \u03AB (upsilon-dialytika)
and \u03D4 (upsilon-hook-diaeresis) are specified
in the rules as comparing identical.
I haven't done an exhaustive test, but from my
preliminary looking around, it appears that this
is the only set of collation rules that blows up.
======================================================================