Andy Seaborne created JENA-2149:
-----------------------------------

             Summary: Java18 JDK + Mockito causes problems
                 Key: JENA-2149
                 URL: https://issues.apache.org/jira/browse/JENA-2149
             Project: Apache Jena
          Issue Type: Bug
            Reporter: Andy Seaborne


Java18 is showing a problem with mockito in jena-core contract tests, 
jena-permissions and jena-querybuilder.

One example (they look similar - some kind of mockito init problem)

https://ci-builds.apache.org/job/Jena/job/Jena_JDK18/org.apache.jena$jena-core/3/testReport/org.apache.jena.graph.impl/SimpleEventManager_CS/testGeneralEvent_GraphEventManagerContractTest_/

tests:

https://ci-builds.apache.org/job/Jena/job/Jena_JDK18/org.apache.jena$jena-permissions/3/testReport/

https://ci-builds.apache.org/job/Jena/job/Jena_JDK18/org.apache.jena$jena-core/3/testReport/

https://ci-builds.apache.org/job/Jena/job/Jena_JDK18/org.apache.jena$jena-querybuilder/3/testReport/

The dependency is mockito 3.11.2 (which is latest : 2021-06-21).

I didn't find any online reports of problems nor a report at the mockito 
project on github.

This is only on our java18 build - the other JDK versions pass.






--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to