You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/01/01 23:23:25 UTC
[commons-io] branch master updated: Replace mockito-inline with
mockito-inline to workaround Java 16's enforcement of encapsulation.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new e98cdaa Replace mockito-inline with mockito-inline to workaround Java 16's enforcement of encapsulation.
e98cdaa is described below
commit e98cdaad2a484a607233d4225a3ae31131ced4e0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jan 1 18:23:21 2021 -0500
Replace mockito-inline with mockito-inline to workaround Java 16's
enforcement of encapsulation.
java.lang.NullPointerException: Cannot enter synchronized block because
"this.lock" is null.
See https://github.com/mockito/mockito/issues/2164
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index d828f40..72191a5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -255,7 +255,7 @@ file comparators, endian transformation classes, and much more.
</dependency>
<dependency>
<groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
+ <artifactId>mockito-inline</artifactId>
<version>3.6.28</version>
<scope>test</scope>
</dependency>