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

ASF subversion and git services commented on SOLR-17718:
--------------------------------------------------------

Commit f306c1397d8ccb96b12e5c8331ee4c48b0f0e748 in solr's branch 
refs/heads/branch_9x from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=f306c1397d8 ]

SOLR-17718: Upgrade bytebuddy to 1.17.4 (#3286)

Fixes cross-dc and cross-dc-manager tests when running with Java 25

(cherry picked from commit 13f0fee15880adc859cb5bab50a8dabe22d173e1)


> 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
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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