I think I was hitting that or very similar and it turned out a bug in Javac
that was fixed in latest release. But that was with Java 8. So I might be
barking up the wrong tree.

Regards,
   Alex

On 3 Mar 2017 2:42 AM, "Uwe Schindler" <[email protected]> wrote:

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

Reply via email to