[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to