Sergey Nuyanzin created FLINK-36966:
---------------------------------------
Summary: Bump mockito to 5.x
Key: FLINK-36966
URL: https://issues.apache.org/jira/browse/FLINK-36966
Project: Flink
Issue Type: Technical Debt
Components: Tests
Reporter: Sergey Nuyanzin
Assignee: Sergey Nuyanzin
Since minimum jdk bumped to 11, mockito could be bumped to 5.x
Moreover there were done some preparations for future jdk support
{quote}
For a while now, we have seen an increase in problems/incompatibilities with
recent versions of the JDK due to our usage of JVM-internal API.
Most notably, JDK 17 made some changes which are incompatible with the current
subclass mockmaker.
Therefore, to prepare for the future of JDK, we are making some core changes to
ensure Mockito keeps on working.
{quote}
https://github.com/mockito/mockito/releases/tag/v5.0.0
--
This message was sent by Atlassian Jira
(v8.20.10#820010)