[ 
https://issues.apache.org/jira/browse/SOLR-17718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938067#comment-17938067
 ] 

Kevin Risden edited comment on SOLR-17718 at 3/25/25 12:32 AM:
---------------------------------------------------------------

[~houston] merged ~7hrs ago - https://github.com/apache/solr/pull/3234 which 
upgraded mockito. On the branch_9x backport it upgraded byte buddy 
(https://github.com/apache/solr/commit/c6178a295b64b0375a70fb56ae1bd47f7756a4a9)
 which might have helped? I haven't specifically checked.


was (Author: risdenk):
[~houston] merged ~7hrs ago - https://github.com/apache/solr/pull/3234 which 
upgraded mockito and byte buddy which might have helped? I haven't specifically 
checked.

> 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

Reply via email to