[
https://issues.apache.org/jira/browse/SOLR-17718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938261#comment-17938261
]
Houston Putman commented on SOLR-17718:
---------------------------------------
Somewhat unrelated, I also created KAFKA-19045 so that we can eventually not
see this warning:
{quote}{{WARNING: A terminally deprecated method in sun.misc.Unsafe has been
called}}
{{WARNING: sun.misc.Unsafe::invokeCleaner has been called by
org.apache.kafka.common.utils.ByteBufferUnmapper}}
{{WARNING: Please consider reporting this to the maintainers of class
org.apache.kafka.common.utils.ByteBufferUnmapper}}
{{WARNING: sun.misc.Unsafe::invokeCleaner will be removed in a future release}}
{{OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader
classes because bootstrap classpath has been appended}}{quote}
> 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: [email protected]
For additional commands, e-mail: [email protected]