Upgrading to Objenesis 2.5
Mockito already uses Objenesis 2.4.
However Objenesis 2.5 was just released and supports the latest [JDK 9 build 151 jigsaw](http://objenesis.org/notes.html)
build.gradle gradle/mockito-core/osgi.gradle
build.gradle gradle/mockito-core/osgi.gradle
diff --git a/build.gradle b/build.gradle
index 2eac447f58..7b9b8da4a3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -49,7 +49,7 @@ dependencies {
     compile 'net.bytebuddy:byte-buddy-agent:1.6.2'
 
     provided "junit:junit:4.12", "org.hamcrest:hamcrest-core:1.3"
-    compile "org.objenesis:objenesis:2.4"
+    compile "org.objenesis:objenesis:2.5"
 
     testCompile 'org.ow2.asm:asm:5.1'
 
@@ -91,4 +91,4 @@ release.mustRunAfter ciBuild //Making sure that release task is only invoked aft
 buildScan {
     licenseAgreementUrl = 'https://gradle.com/terms-of-service'
     licenseAgree = 'yes'
-}
\ No newline at end of file
+}
diff --git a/gradle/mockito-core/osgi.gradle b/gradle/mockito-core/osgi.gradle
index 05d99eec94..2b0eb65fee 100644
--- a/gradle/mockito-core/osgi.gradle
+++ b/gradle/mockito-core/osgi.gradle
@@ -20,7 +20,7 @@ afterEvaluate {
                     'junit.*;resolution:=optional',
                     'org.junit.*;resolution:=optional',
                     'org.hamcrest;resolution:=optional',
-                    'org.objenesis;version="[2.4,3.0)"',
+                    'org.objenesis;version="[2.5,3.0)"',
                     'org.mockito.*'
 
             instruction 'Private-Package',
