You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "rombert (via GitHub)" <gi...@apache.org> on 2023/05/30 14:02:14 UTC
[GitHub] [sling-org-apache-sling-api] rombert commented on pull request #49: SLING-11546: Edited calendar toString method so it explicitly adds th…
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: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org