This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch branch-4.8
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/branch-4.8 by this push:
     new 82d8928  Upgrade Mockito to 2.22.0 in order to support build on JDK11
82d8928 is described below

commit 82d8928eb10c13f620de9f1ade187383ecf52e15
Author: Enrico Olivelli <eolive...@gmail.com>
AuthorDate: Thu Sep 27 10:56:58 2018 +0200

    Upgrade Mockito to 2.22.0 in order to support build on JDK11
    
    Descriptions of the changes in this PR:
    
    ### Motivation
    
    Running tests on JDK11 requires a new version of Mockito, because in JDK11 
they dropped Unsafe.defineClass.
    
    ### Changes
    
    Upgrade Mockito
    
    Master Issue: #1710
    
    Author: Enrico Olivelli <eolive...@apache.org>
    
    Reviewers: Sijie Guo <si...@apache.org>
    
    This closes #1711 from eolivelli/fix/upgrade-mockito
    
    (cherry picked from commit 1f0bc8cabd7fd25af142f4963310b5205b146ceb)
    Signed-off-by: Enrico Olivelli <eolive...@apache.org>
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 4f31219..9bab84d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -140,7 +140,7 @@
     <libthrift9.version>0.9.3</libthrift9.version>
     <lombok.version>1.16.22</lombok.version>
     <lz4.version>1.3.0</lz4.version>
-    <mockito.version>2.13.0</mockito.version>
+    <mockito.version>2.22.0</mockito.version>
     <netty.version>4.1.22.Final</netty.version>
     <netty-boringssl.version>2.0.7.Final</netty-boringssl.version>
     <ostrich.version>9.1.3</ostrich.version>

Reply via email to