You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/07/31 16:05:00 UTC

[jira] [Commented] (HADOOP-19243) Upgrade Mockito version to 4.11.0

    [ https://issues.apache.org/jira/browse/HADOOP-19243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869955#comment-17869955 ] 

ASF GitHub Bot commented on HADOOP-19243:
-----------------------------------------

muskan1012 opened a new pull request, #6968:
URL: https://github.com/apache/hadoop/pull/6968

   
   ### Description of PR
   Upgraded the mockito-core and mockito-inline version to make it compatible with JDK17 and to resolve errors related to Mockito: "mockito cannot mock this class."
   
   ### How was this patch tested?
   Tested by running locally.




> Upgrade Mockito version to 4.11.0
> ---------------------------------
>
>                 Key: HADOOP-19243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19243
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Muskan Mishra
>            Assignee: Muskan Mishra
>            Priority: Major
>
> While Compiling test classes with JDK17, faced error related to Mockito:
> *Mockito cannot mock this class.*
> So to make it compatible with jdk17 we have to upgrade the version of mockito-core as well as mockito-inline.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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