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

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

     [ https://issues.apache.org/jira/browse/SOLR-14513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl resolved SOLR-14513.
--------------------------------
    Resolution: Cannot Reproduce

Hi,

There is no issue with compiling Lucene 8.5 with Java 8.

Please use this Jira only for confirmed bugs in the software. I'm closing this issue now and ask you to use the mailing list solr-user (see [https://lucene.apache.org/solr/community.html#mailing-lists-irc)] to ask further questions about this. When you do, please include more details, such as more about your environment, your OS, how you obtained Solr source code and exactly the error message you see. Also, you should use newest Java8 JDK.

Please do not reply to this Jira but use the mailing lists.

> 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
>            Priority: Major
>
> 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  }
>   
>  
> and then, i setup the JDK 13, compile is success:
> ant compile



--
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