You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/07/13 20:01:00 UTC

[jira] [Resolved] (SPARK-28370) Upgrade Mockito to 2.28.2

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

Dongjoon Hyun resolved SPARK-28370.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 25139
[https://github.com/apache/spark/pull/25139]

> Upgrade Mockito to 2.28.2
> -------------------------
>
>                 Key: SPARK-28370
>                 URL: https://issues.apache.org/jira/browse/SPARK-28370
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build, Tests
>    Affects Versions: 3.0.0
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Major
>             Fix For: 3.0.0
>
>
> This issue aims to upgrade Mockito from **2.23.4** to **2.28.2** in order to bring the latest bug fixes and to be up-to-date for JDK9+ support before Apache Spark 3.0.0. There is Mockito 3.0 released 4 days ago, but we had better wait and see for the stability.
> **RELEASE NOTE**
> https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md
> **NOTABLE FIXES**
> - Configure the MethodVisitor for Java 11+ compatibility (2.27.5)
> - When mock is called multiple times, and verify fails, the error message reports only the first invocation (2.27.4)
> - Memory leak in mockito-inline calling method on mock with at least a mock as parameter (2.25.0)
> - Cross-references and a single spy cause memory leak (2.25.0)
> - Nested spies cause memory leaks (2.25.0)
> - [Java 9 support] ClassCastExceptions with JDK9 javac (2.24.9, 2.24.3)
> - Return null instead of causing a CCE (2.24.9, 2.24.3)
> - Issue with mocking type in "java.util.*", Java 12 (2.24.2)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org