[ https://issues.apache.org/jira/browse/HADOOP-14188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939975#comment-15939975 ]
Akira Ajisaka commented on HADOOP-14188: ---------------------------------------- bq. If Whitebox is a bad practice, how about refactoring with DI framework? We have already used Guice. +1 > Remove the usage of org.mockito.internal.util.reflection.Whitebox > ----------------------------------------------------------------- > > Key: HADOOP-14188 > URL: https://issues.apache.org/jira/browse/HADOOP-14188 > Project: Hadoop Common > Issue Type: Test > Components: test > Reporter: Akira Ajisaka > Assignee: Akira Ajisaka > Priority: Minor > Attachments: HADOOP-14188.01.patch, HADOOP-14188.02.patch > > > org.mockito.internal.util.reflection.Whitebox was removed in Mockito 2.1, so > we need to remove the usage to upgrade Mockito. Getter/setter method can be > used instead of this hack. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org