You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "aiqunfang (Jira)" <ji...@apache.org> on 2020/05/26 07:30:00 UTC

[jira] [Created] (SOLR-14513) can not compile with jdk1.8.0_20

aiqunfang created SOLR-14513:
--------------------------------

             Summary: can not compile with jdk1.8.0_20
                 Key: SOLR-14513
                 URL: https://issues.apache.org/jira/browse/SOLR-14513
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Build
    Affects Versions: 8.5.1
            Reporter: aiqunfang


while use jdk1.8.0_20 to compile by following command:

ant compile

 

the process is abort by compile error while compile the file:

solr-8.5.1\lucene\queries\src\java\org\apache\lucene\queries\intervals\ConjunctionDISI.java

at line 68:

 
64  private ConjunctionDISI(List<? extends DocIdSetIterator> iterators) {
65    assert iterators.size() >= 2;
66    // Sort the array the first time to allow the least frequent DocsEnum to
67    // lead the matching.
68   {color:#FF0000} CollectionUtil.timSort(iterators, Comparator.comparingLong(DocIdSetIterator::cost));{color}
69    lead1 = iterators.get(0);
70    lead2 = iterators.get(1);
71    others = iterators.subList(2, iterators.size()).toArray(new DocIdSetIterator[0]);
72  }
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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