janhoy commented on PR #2047:
URL: https://github.com/apache/solr/pull/2047#issuecomment-1971765269

   This upgrade was tricky. First, it did not compile unless upgrading 
biz.aQute.bnd to v7.0.0. After that, the build fails, complaining about class 
versions:
   
   ```
   
/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.23.0/10741ddf9effd8e04d568148c2948a22f3f4cc73/log4j-api-2.23.0.jar(/org/apache/logging/log4j/Level.class):
 warning: Cannot find annotation method 'value()' in type 'BaselineIgnore': bad 
class file: 
/home/runner/.gradle/caches/modules-2/files-2.1/biz.aQute.bnd/biz.aQute.bnd.annotation/7.0.0/8ad279ebf0d04ea89c5ce4d934189d0d16bb6d50/biz.aQute.bnd.annotation-7.0.0.jar(/aQute/bnd/annotation/baseline/BaselineIgnore.class)
       class file has wrong version 61.0, should be 55.0
   ```
   
   I cannot see that Log4j have officially announced that they require Java 17, 
although their release note page at 
https://logging.apache.org/log4j/2.x/release-notes.html says for the 2.22.1 
release: "**While maintaining compatibility with Java 8, the artifacts in this 
release where generated using JDK 17, unlike version 2.22.0 that used JDK 
11.**".
   
   @uschindler Can you decode what they mean by this and whether this is likely 
a bug in the 2.23.0 release or if we cannot upgrade since they require java17?
   
   PS: We should start thinking about JDK bump for Solr on main to at least 17.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to