Repository: zookeeper
Updated Branches:
  refs/heads/master 9ba4aeb4f -> 519db3f5c


ZOOKEEPER-3002: upgrade to jdk 8

Set minimum requirement to java 1.8
The code successfully compiled with 8.0.161-oracle and 8.0.163-zulu.

Checking the generated class file it reports 1.8 as version:
javap -verbose build/classes/org/apache/zookeeper/server/ServerStats.class | 
grep version
minor version: 0
major version: 52

Author: Norbert Kalmar <nkal...@yahoo.com>

Reviewers: Andor Molnár <an...@cloudera.com>, Michael Han <h...@apache.org>

Closes #502 from nkalmar/ZOOKEEPER-3002_java1.8


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/519db3f5
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/519db3f5
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/519db3f5

Branch: refs/heads/master
Commit: 519db3f5c585f63a0a55e9f7929a07f9715bd729
Parents: 9ba4aeb
Author: Norbert Kalmar <nkal...@yahoo.com>
Authored: Mon Apr 16 21:57:24 2018 -0700
Committer: Michael Han <h...@apache.org>
Committed: Mon Apr 16 21:57:24 2018 -0700

----------------------------------------------------------------------
 build.xml                                                   | 4 ++--
 docs/zookeeperAdmin.html                                    | 4 ++--
 src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/519db3f5/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index a6b7617..6e35fcf 100644
--- a/build.xml
+++ b/build.xml
@@ -40,8 +40,8 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant">
     <property name="revision.properties" value="revision.properties" />
     <property file="${basedir}/src/java/${revision.properties}" />
     
-    <property name="javac.target" value="1.7" />
-    <property name="javac.source" value="1.7" />
+    <property name="javac.target" value="1.8" />
+    <property name="javac.source" value="1.8" />
     <property name="build.encoding" value="utf8" />
 
     <property name="src.dir" value="${basedir}/src" />

http://git-wip-us.apache.org/repos/asf/zookeeper/blob/519db3f5/docs/zookeeperAdmin.html
----------------------------------------------------------------------
diff --git a/docs/zookeeperAdmin.html b/docs/zookeeperAdmin.html
index 790ea10..6647374 100644
--- a/docs/zookeeperAdmin.html
+++ b/docs/zookeeperAdmin.html
@@ -504,8 +504,8 @@ document.write("Last Published: " + document.lastModified);
         is no full support.</p>
 <a name="sc_requiredSoftware"></a>
 <h4>Required Software </h4>
-<p>ZooKeeper runs in Java, release 1.7 or greater (JDK 7 or
-        greater, FreeBSD support requires openjdk7).  It runs as an
+<p>ZooKeeper runs in Java, release 1.8 or greater (JDK 8 or
+        greater, FreeBSD support requires openjdk8).  It runs as an
         <em>ensemble</em> of ZooKeeper servers. Three
         ZooKeeper servers is the minimum recommended size for an
         ensemble, and we also recommend that they run on separate

http://git-wip-us.apache.org/repos/asf/zookeeper/blob/519db3f5/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml
----------------------------------------------------------------------
diff --git a/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml 
b/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml
index 2de25a1..983c9ce 100644
--- a/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml
+++ b/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml
@@ -163,8 +163,8 @@
       <section id="sc_requiredSoftware">
         <title>Required Software </title>
 
-        <para>ZooKeeper runs in Java, release 1.7 or greater (JDK 7 or
-        greater, FreeBSD support requires openjdk7).  It runs as an
+        <para>ZooKeeper runs in Java, release 1.8 or greater (JDK 8 or
+        greater, FreeBSD support requires openjdk8).  It runs as an
         <emphasis>ensemble</emphasis> of ZooKeeper servers. Three
         ZooKeeper servers is the minimum recommended size for an
         ensemble, and we also recommend that they run on separate

Reply via email to