Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8455

Upgrade ECJ compiler to 4.6.1 in lucene/common-build.xml

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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)));

       

        Attachments

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              erickerickson Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: