Open asfimport opened 9 years ago
ASF subversion and git services (migrated from JIRA)
Commit 1655657 from @rmuir in branch 'dev/branches/branch_5x' https://svn.apache.org/r1655657
LUCENE-6206: don't fail test if it encounters jdk bug
ASF subversion and git services (migrated from JIRA)
Commit 1655659 from @rmuir in branch 'dev/trunk' https://svn.apache.org/r1655659
LUCENE-6206: don't fail test if it encounters jdk bug
Robert Muir (@rmuir) (migrated from JIRA)
I opened a java bug report (Review ID: JI-9018602) and fixed our tests to not fail when its a jdk bug.
Steven Rowe (@sarowe) (migrated from JIRA)
Here's the JIRA corresponding to JI-9018602: https://bugs.openjdk.java.net/browse/JDK-8071862
ASF subversion and git services (migrated from JIRA)
Commit 1655708 from @rmuir in branch 'dev/trunk' https://svn.apache.org/r1655708
LUCENE-6206: link to jdk bug, tighten up the assume
ASF subversion and git services (migrated from JIRA)
Commit 1655709 from @rmuir in branch 'dev/branches/branch_5x' https://svn.apache.org/r1655709
LUCENE-6206: link to jdk bug, tighten up the assume
Robert Muir (@rmuir) (migrated from JIRA)
Here's the JIRA corresponding to JI-9018602: https://bugs\.openjdk\.java\.net/browse/JDK-8071862
Thanks Steve.
ASF subversion and git services (migrated from JIRA)
Commit 1700261 from @rmuir in branch 'dev/trunk' https://svn.apache.org/r1700261
LUCENE-6206: don't fail test if it encounters jdk bug, ban Collator.compare in tests so this never pops again
ASF subversion and git services (migrated from JIRA)
Commit 1700266 from @rmuir in branch 'dev/branches/branch_5x' https://svn.apache.org/r1700266
LUCENE-6206: don't fail test if it encounters jdk bug, ban Collator.compare in tests so this never pops again
Michael McCandless (@mikemccand) (migrated from JIRA)
Woops, thanks @rmuir!
This test failed in branch_5x:
The problem is, with lithuanian collator, the generated collationkey does not agree with collation order.
In other words: collator.compare("yi", "iy") != collator.getCollationKey("yi").compareTo(collator.getCollationKey("iy"))
Simple test:
Note that if you change java.text.Collator to com.ibm.icu.text.Collator, they are consistent. Looks like a bug in JDK collation.
Migrated from LUCENE-6206 by Robert Muir (@rmuir), updated Aug 31 2015