Paul Rütter created FELIX-6780:
----------------------------------

             Summary: Java 23 CI failure for HTTP Jetty RequestLogTrackerTest
                 Key: FELIX-6780
                 URL: https://issues.apache.org/jira/browse/FELIX-6780
             Project: Felix
          Issue Type: Bug
            Reporter: Paul Rütter


{code:java}
[ERROR]   RequestLogTrackerTest.testNaughtyService:80 Mockito 
3100Mockito cannot mock this class: interface 
org.osgi.framework.ServiceReference.
3101
3102If you're not sure why you're getting this error, please open an issue on 
GitHub.
3103
3104
3105Java               : 23
3106JVM vendor name    : Eclipse Adoptium
3107JVM vendor version : 23.0.2+7
3108JVM name           : OpenJDK 64-Bit Server VM
3109JVM version        : 23.0.2+7
3110JVM info           : mixed mode, sharing
3111OS name            : Linux
3112OS version         : 6.11.0-1013-azure
3113
3114
3115You are seeing this disclaimer because Mockito is configured to create 
inlined mocks.
3116You can learn about inline mocks and their limitations under item #39 of 
the Mockito class javadoc.
3117
3118Underlying exception : org.mockito.exceptions.base.MockitoException: Could 
not modify all classes [interface org.osgi.framework.ServiceReference, 
interface java.lang.Comparable]
3119[INFO] 
3120[ERROR] Tests run: 13, Failures: 0, Errors: 2, Skipped: 0 {code}
Somehow, the unit tests for Java 23 for the Jetty bundle are failing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to