[
https://issues.apache.org/jira/browse/LUCENE-8455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson resolved LUCENE-8455.
------------------------------------
Resolution: Fixed
Fix Version/s: 7.5
master (8.0)
> Upgrade ECJ compiler to 4.6.1 in lucene/common-build.xml
> --------------------------------------------------------
>
> Key: LUCENE-8455
> URL: https://issues.apache.org/jira/browse/LUCENE-8455
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Erick Erickson
> Assignee: Erick Erickson
> Priority: Minor
> Fix For: master (8.0), 7.5
>
>
> While working on SOLR-12625 I tried to use a map initialization construct
> like this that works programmatically but fails precommit. Robert pointed out
> that we're using ECJ 4.4.1 compiler and suggested trying 4.6.1, which does
> the trick. I wanted to put the upgrade as a separate Jira for traceability so
> here it is.
> static final Map<TEST_TYPE, String> solrClassMap =
> Collections.unmodifiableMap(Stream.of(
> new SimpleEntry<>(TEST_TYPE.TINT, "solr.TrieIntField"),
> new SimpleEntry<>(TEST_TYPE.BOOL, "solr.BoolField"))
> .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)));
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]