Repository: incubator-geode
Updated Branches:
  refs/heads/develop e9bf1176b -> 19a282728


fixing broken swizzling code in DataSerializer

Hitesh's repackaging rewrote the package name for old TcpServer request
classes.  This reverts the oldPackage name strings in the swizzling
methods.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/19a28272
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/19a28272
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/19a28272

Branch: refs/heads/develop
Commit: 19a2827284228d0c1ed57fdb571bd891bb2db6e9
Parents: e9bf117
Author: Bruce Schuchardt <bschucha...@pivotal.io>
Authored: Tue Sep 20 15:27:42 2016 -0700
Committer: Bruce Schuchardt <bschucha...@pivotal.io>
Committed: Tue Sep 20 15:35:41 2016 -0700

----------------------------------------------------------------------
 geode-core/src/main/java/org/apache/geode/DataSerializer.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/19a28272/geode-core/src/main/java/org/apache/geode/DataSerializer.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/DataSerializer.java 
b/geode-core/src/main/java/org/apache/geode/DataSerializer.java
index 224df85..8e2bad0 100644
--- a/geode-core/src/main/java/org/apache/geode/DataSerializer.java
+++ b/geode-core/src/main/java/org/apache/geode/DataSerializer.java
@@ -301,7 +301,7 @@ public abstract class DataSerializer {
    * @return the name of the class in this implementation
    */
   private static String swizzleClassNameForRead(String name) {
-    String oldPackage = "org.apache.org.jgroups.stack.tcpserver";
+    String oldPackage = "com.gemstone.org.jgroups.stack.tcpserver";
     String newPackage = "org.apache.geode.distributed.internal.tcpserver";
     String result = name;
     if (name.startsWith(oldPackage)) {
@@ -319,7 +319,7 @@ public abstract class DataSerializer {
    * @return the name of the class in this implementation
    */
   private static String swizzleClassNameForWrite(String name) {
-    String oldPackage = "org.apache.org.jgroups.stack.tcpserver";
+    String oldPackage = "com.gemstone.org.jgroups.stack.tcpserver";
     String newPackage = "org.apache.geode.distributed.internal.tcpserver";
     String result = name;
     if (name.startsWith(newPackage)) {

Reply via email to