Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6534

Analysis tests are angry at JDK9 B67

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • New

    Description

      These tests are failing in crazy ways even with -Xint. Just grab B67 and run 'ant test' from lucene/analyzers.

         [junit4] Tests with failures (first 10 out of 26):
         [junit4]   - org.apache.lucene.analysis.core.TestAnalyzers.testRandomHugeStrings
         [junit4]   - org.apache.lucene.analysis.standard.TestClassicAnalyzer.testRandomHugeStrings
         [junit4]   - org.apache.lucene.analysis.reverse.TestReverseStringFilter.testRandomStrings
         [junit4]   - org.apache.lucene.analysis.cjk.TestCJKWidthFilter.testRandomData
         [junit4]   - org.apache.lucene.analysis.de.TestGermanLightStemFilter.testRandomStrings
         [junit4]   - org.apache.lucene.analysis.charfilter.TestMappingCharFilter.testRandomMaps
         [junit4]   - org.apache.lucene.analysis.charfilter.TestMappingCharFilter.testRandom
         [junit4]   - org.apache.lucene.analysis.en.TestEnglishMinimalStemFilter.testRandomStrings
         [junit4]   - org.apache.lucene.analysis.no.TestNorwegianMinimalStemFilter.testRandomStrings
         [junit4]   - org.apache.lucene.analysis.ngram.EdgeNGramTokenFilterTest.testRandomStrings
      

      Maybe one of the charset changes or similar? I haven't tried to boil any of these down yet. They do not reproduce, its like there is some 'internal state' involved...

      Attachments

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: