rombert commented on PR #49:
URL: 
https://github.com/apache/sling-org-apache-sling-api/pull/49#issuecomment-1568491814

   @kwin - this build fails on Java 17 following the Jenkins switch to testing 
multiple JVMs
   
   ```
   [ERROR] 
org.apache.sling.api.uri.SlingUriRebaseTest.testRebaseResourcePathSimpleResourcePathIncludesExtension
  Time elapsed: 0.033 s  <<< ERROR!
   org.mockito.exceptions.base.MockitoException: 
   
   Mockito cannot mock this class: interface 
org.apache.sling.api.resource.ResourceResolver.
   
   Mockito can only mock non-private & non-final classes.
   If you're not sure why you're getting this error, please report to the 
mailing list.
   
   Java               : 17
   JVM vendor name    : Eclipse Adoptium
   JVM vendor version : 17.0.7+7
   JVM name           : OpenJDK 64-Bit Server VM
   JVM version        : 17.0.7+7
   JVM info           : mixed mode, sharing
   OS name            : Linux
   OS version         : 4.15.0-206-generic
   ```
   
   Do you have a suggestion on how to fix this? Otherwise I'd drop Java 17 from 
the combinations used to build this module.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to