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 ffe4b02  GEODE-5182: add 1.6.0 as a backward-compatibility test version
ffe4b02 is described below

commit ffe4b0299a7961a8a594cd44a574475872da2ada
Author: Bruce Schuchardt <bschucha...@pivotal.io>
AuthorDate: Fri May 4 16:02:07 2018 -0700

    GEODE-5182: add 1.6.0 as a backward-compatibility test version
---
 geode-core/src/main/java/org/apache/geode/internal/Version.java  | 9 +++++++--
 .../geode/internal/cache/tier/sockets/CommandInitializer.java    | 1 +
 geode-old-versions/build.gradle                                  | 1 +
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/geode-core/src/main/java/org/apache/geode/internal/Version.java 
b/geode-core/src/main/java/org/apache/geode/internal/Version.java
index 3d7e4dc..f60e9bb 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/Version.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/Version.java
@@ -56,7 +56,7 @@ public class Version implements Comparable<Version> {
   /** byte used as ordinal to represent this <code>Version</code> */
   private final short ordinal;
 
-  public static final int HIGHEST_VERSION = 85;
+  public static final int HIGHEST_VERSION = 90;
 
   private static final Version[] VALUES = new Version[HIGHEST_VERSION + 1];
 
@@ -215,13 +215,18 @@ public class Version implements Comparable<Version> {
   public static final Version GEODE_160 =
       new Version("GEODE", "1.6.0", (byte) 1, (byte) 6, (byte) 0, (byte) 0, 
GEODE_160_ORDINAL);
 
+  private static final byte GEODE_170_ORDINAL = 90;
+
+  public static final Version GEODE_170 =
+      new Version("GEODE", "1.7.0", (byte) 1, (byte) 7, (byte) 0, (byte) 0, 
GEODE_170_ORDINAL);
+
   /* NOTE: when adding a new version bump the ordinal by 5. Ordinals can be 
short ints */
 
   /**
    * This constant must be set to the most current version of the product. !!! 
NOTE: update
    * HIGHEST_VERSION when changing CURRENT !!!
    */
-  public static final Version CURRENT = GEODE_160;
+  public static final Version CURRENT = GEODE_170;
 
   /**
    * A lot of versioning code needs access to the current version's ordinal
diff --git 
a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
 
b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
index bb666ac..08e76b7 100644
--- 
a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
+++ 
b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
@@ -328,6 +328,7 @@ public class CommandInitializer {
     ALL_COMMANDS.put(Version.GEODE_140, commands);
     ALL_COMMANDS.put(Version.GEODE_150, commands);
     ALL_COMMANDS.put(Version.GEODE_160, commands);
+    ALL_COMMANDS.put(Version.GEODE_170, commands);
 
   }
 
diff --git a/geode-old-versions/build.gradle b/geode-old-versions/build.gradle
index 3fea08e..e01a048 100644
--- a/geode-old-versions/build.gradle
+++ b/geode-old-versions/build.gradle
@@ -96,4 +96,5 @@ task createGeodeClasspathsFile  {
   addOldVersion('test130', '1.3.0', true)
   addOldVersion('test140', '1.4.0', true)
   addOldVersion('test150', '1.5.0', true)
+  addOldVersion('test160', '1.6.0', true)
 }

-- 
To stop receiving notification emails like this one, please contact
bschucha...@apache.org.

Reply via email to