ECJ's configuration was still hard-coding Java 17 language levels in its config file, thus preventing us from using Java 21 language features (albeit not in SolrJ modules). I fixed that in Lucene and cherry-picked that into Solr [1], so we're unblocked now.
[1] https://github.com/apache/solr/commit/40926bcdd3f279022746e46b46f124f3cc12747c I also observed that our Eclipse IDE configuration is outdated, relative to Lucene, and likely doesn't work as it has references to Java 11 in its config file. That's out of scope here but someone who cares about Eclipse should synchronize our config from Lucene. ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley