You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/06/09 01:44:00 UTC

[jira] [Commented] (LUCENE-6534) Analysis tests are angry at JDK9 B67

    [ https://issues.apache.org/jira/browse/LUCENE-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578073#comment-14578073 ] 

Robert Muir commented on LUCENE-6534:
-------------------------------------

The problems only happen when we use a "spoonfeeding" reader (MockReaderWrapper) in BaseTokenStreamTestCase. Will try to narrow more...

> Analysis tests are angry at JDK9 B67
> ------------------------------------
>
>                 Key: LUCENE-6534
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6534
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> These tests are failing in crazy ways even with -Xint. Just grab B67 and run 'ant test' from lucene/analyzers. 
> {noformat}
>    [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
> {noformat}
> 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...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org