jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Baedke (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-7650) upgrade to mockito version compatible with java 11
Date Fri, 03 Aug 2018 14:15:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-7650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manfred Baedke closed OAK-7650.
-------------------------------

> upgrade to mockito version compatible with java 11
> --------------------------------------------------
>
>                 Key: OAK-7650
>                 URL: https://issues.apache.org/jira/browse/OAK-7650
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: auth-ldap, documentmk, security-spi
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>             Fix For: 1.10, 1.8.6, 1.9.7
>
>
> Older versions of 2.* fail like:
> {noformat}
> [INFO] Running org.apache.jackrabbit.oak.security.authentication.ldap.impl.PoolableUnboundConnectionFactoryTest
> [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.539 s <<<
FAILURE! - in org.apache.jackrabbit.oak.security.authentication.ldap.impl.PoolableUnboundConnectionFactoryTest
> [ERROR] testSetValidator(org.apache.jackrabbit.oak.security.authentication.ldap.impl.PoolableUnboundConnectionFactoryTest)
 Time elapsed: 0.539 s  <<< ERROR!
> org.mockito.exceptions.base.MockitoException:
> Mockito cannot mock this class: interface org.apache.directory.ldap.client.api.LdapConnectionValidator.
> 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               : 11
> JVM vendor name    : Oracle Corporation
> JVM vendor version : 11-ea+22
> JVM name           : Java HotSpot(TM) 64-Bit Server VM
> JVM version        : 11-ea+22
> JVM info           : mixed mode
> OS name            : Windows 10
> OS version         : 10.0
> {noformat}
> 1.* versions do not seem to be affected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message