[ https://issues.apache.org/jira/browse/SOLR-14513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
aiqunfang updated SOLR-14513: ----------------------------- Description: 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 was: 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 uccess: ant compile > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org