Thanks Uwe, does this need a re-spin? On Fri, Mar 3, 2017 at 2:12 PM, Uwe Schindler <[email protected]> wrote:
> Hi, > > > > I fixed this by cherry-picking Hoss‘ commit: https://git1-us-west.apache. > org/repos/asf?p=lucene-solr.git;a=commit;h=b8ea2d04 > > > > Sorry: NamedList’s generics are a mess. Either remove them completely or > fix them correctly! > > > > Uwe > > > > ----- > > Uwe Schindler > > Achterdiek 19, D-28357 Bremen > > http://www.thetaphi.de > > eMail: [email protected] > > > > *From:* Uwe Schindler [mailto:[email protected]] > *Sent:* Friday, March 3, 2017 8:43 AM > *To:* [email protected] > *Subject:* RE: [VOTE] Release Lucene/Solr 6.4.2 RC1 > > > > Hi, > > > > Jenkins complains about a compile error in the 6.4 branch, failed already > 3 times (it could be a Java 9 bug, but strangely it only happens in the 6.4 > branch): > > > > Build: https://jenkins.thetaphi.de/job/Lucene-Solr-6.4-Linux/124/ > > Java: 64bit/jdk-9-ea+158 -XX:+UseCompressedOops -XX:+UseG1GC > > > > All tests passed > > > > Build Log: > > [...truncated 9932 lines...] > > [javac] Compiling 323 source files to /home/jenkins/workspace/ > Lucene-Solr-6.4-Linux/solr/build/solr-solrj/classes/java > > [javac] /home/jenkins/workspace/Lucene-Solr-6.4-Linux/solr/ > solrj/src/java/org/apache/solr/common/util/NamedList.java:398: error: > reference to NamedList is ambiguous > > [javac] return new NamedList<>( Collections.unmodifiableList( > copy.nvPairs)); > > [javac] ^ > > [javac] both constructor <T>NamedList(Map<String,? extends T>) in > NamedList and constructor <T>NamedList(List<Object>) in NamedList match > > [javac] where T is a type-variable: > > [javac] T extends Object declared in class NamedList > > [javac] /home/jenkins/workspace/Lucene-Solr-6.4-Linux/solr/ > solrj/src/java/org/apache/solr/common/util/NamedList.java:398: error: > incompatible types: cannot infer type arguments for NamedList<> > > [javac] return new NamedList<>( Collections.unmodifiableList( > copy.nvPairs)); > > [javac] ^ > > [javac] reason: cannot infer type-variable(s) T > > [javac] (argument mismatch; List cannot be converted to > Map<String,? extends T>) > > [javac] where T is a type-variable: > > [javac] T extends Object declared in class NamedList > > [javac] Note: Some input files use or override a deprecated API. > > [javac] Note: Recompile with -Xlint:deprecation for details. > > [javac] Note: Some input files use unchecked or unsafe operations. > > [javac] Note: Recompile with -Xlint:unchecked for details. > > [javac] 2 errors > > > > BUILD FAILED > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/build.xml:775: The > following error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/build.xml:719: The > following error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/build.xml:59: The following > error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/solr/build.xml:252: The > following error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/solr/common-build.xml:536: > The following error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/solr/common-build.xml:484: > The following error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/solr/common-build.xml:385: > The following error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/solr/common-build.xml:405: > The following error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/lucene/common-build.xml:501: > The following error occurred while executing this line: > > /home/jenkins/workspace/Lucene-Solr-6.4-Linux/lucene/common-build.xml:1955: > Compile failed; see the compiler error output for details. > > > > > > This does not happen in master and branch_6x. > > > > ----- > > Uwe Schindler > > Achterdiek 19, D-28357 Bremen > > http://www.thetaphi.de > > eMail: [email protected] > > > > *From:* Ishan Chattopadhyaya [mailto:[email protected] <[email protected]>] > *Sent:* Wednesday, March 1, 2017 9:42 PM > *To:* [email protected] > *Subject:* [VOTE] Release Lucene/Solr 6.4.2 RC1 > > > > Please vote for release candidate 1 for Lucene/Solr 6.4.2 > > > > The artifacts can be downloaded from: > > https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-6.4.2-RC1-rev34a975ca3d4bd7fa121340e5bcbf165929e0542f > > > > You can run the smoke tester directly with this command: > > > > python3 -u dev-tools/scripts/smokeTestRelease.py \ > > https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-6.4.2-RC1-rev34a975ca3d4bd7fa121340e5bcbf165929e0542f > > > > Here's my +1 > SUCCESS! [0:52:41.429385] > >
