[ https://issues.apache.org/jira/browse/SOLR-17718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938070#comment-17938070 ]
Chris M. Hostetter commented on SOLR-17718: ------------------------------------------- All the failures i've seen are on main (I don't think Uwe is running JDK25 on the 9x test branch? ... just guessing) and the most recent was definitely after the mockito upgrade... [https://jenkins.thetaphi.de/view/Solr/job/Solr-main-Linux/24056/] {noformat} Using Java: 64bit/hotspot/jdk-25-ea+15 -XX:+UseCompressedOops -XX:+UseParallelGC ... Checking out Revision 3d8d4df477fac8b6cf79b0722745401f05e9fa8a (refs/remotes/origin/main) Commit message: "Fix cross-dc security manager usage. Port some Lucene test setup (#3285)" {noformat} > JDK 25 test failures w/mockito -- even when using assumeWorkingMockito() > ------------------------------------------------------------------------ > > Key: SOLR-17718 > URL: https://issues.apache.org/jira/browse/SOLR-17718 > Project: Solr > Issue Type: New Feature > Reporter: Chris M. Hostetter > Priority: Major > > Test that use Mockito (currently) fail in jenkins jobs using JDK 25 due to > the following underlying error... > {noformat} > Caused by: > java.lang.IllegalArgumentException: Java 25 (69) is not supported by the > current version of Byte Buddy which officially supports Java 24 (68) - update > Byte Buddy or set net.bytebuddy.experimental as a VM property > at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:120) > {noformat} > Note that this happens during the call to {{Mockito.mock(Foo.class)}} -- even > in tests that preceed all use of Mockito w/ our custom > {{SolrTestCaseJ4.assumeWorkingMockito()}} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org