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

bschuchardt pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 17369d1  GEODE-3923 Provide whitelist/blacklist capability for java 
serialization
17369d1 is described below

commit 17369d1664c890cc95afebd4ab26b5e2dffcd2f3
Author: Bruce Schuchardt <[email protected]>
AuthorDate: Wed Dec 6 09:00:57 2017 -0800

    GEODE-3923 Provide whitelist/blacklist capability for java serialization
    
    Modifying build to require JDK 1.8.0_121 or later
---
 gradle/java.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gradle/java.gradle b/gradle/java.gradle
index b20ebc8..22fec1c 100644
--- a/gradle/java.gradle
+++ b/gradle/java.gradle
@@ -21,9 +21,15 @@ allprojects {
   targetCompatibility = 1.8
   compileJava.options.encoding = 'UTF-8'
 }
+
 subprojects {
   apply plugin: 'java'
 
+  String javaVersion = System.properties['java.version']
+  if (javaVersion.startsWith("1.8.0") && javaVersion.split("_")[1].toInteger() 
< 121) {
+    throw new GradleException("Java version 1.8.0_121 or later required, but 
was " + javaVersion)
+  }
+    
   // apply compiler options
   gradle.taskGraph.whenReady({ graph ->
     tasks.withType(JavaCompile).each { javac ->

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to