Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Mockito needs to be updated to 2.12.0 as per [0].
[INFO] Running org.apache.jackrabbit.oak.plugins.tree.TreeLocationTest [ERROR] Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.811 s <<< FAILURE! - in org.apache.jackrabbit.oak.plugins.tree.TreeLocationTest [ERROR] testNullLocation(org.apache.jackrabbit.oak.plugins.tree.TreeLocationTest) Time elapsed: 0.491 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: interface org.apache.jackrabbit.oak.api.Tree. 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 : 10 JVM vendor name : "Oracle Corporation" JVM vendor version : 10+46 JVM name : Java HotSpot(TM) 64-Bit Server VM JVM version : 10+46 JVM info : mixed mode OS name : Mac OS X OS version : 10.13.3 Underlying exception : java.lang.UnsupportedOperationException: Cannot define class using reflection Caused by: java.lang.UnsupportedOperationException: Cannot define class using reflection Caused by: java.lang.IllegalArgumentException: Unknown Java version: 10
Attachments
Issue Links
- blocks
-
OAK-7364 code coverage checks fail on Java 10
- Closed