lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject precommit, java8 and Solr 5.x
Date Mon, 22 Oct 2018 15:03:12 GMT
Is there a magic flag to convince the precommit step to allow Java 8
constructs (lambdas in this case) when compiling a 5x version? I need
to backport some code.

I tried this:
ant -Djavac.source=1.8 -Dsource=1.8 precommit
ant -Djavac.source=1.8 -Dsource=8 precommit

to no avail. It all compiles fine, but generates this error:

[ecj-lint] Lambda expressions are allowed only at source level 1.8 or above

Meanwhile I'll dig of course.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message