ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [06/50] [abbrv] incubator-ignite git commit: IGNITE-141 - Marshallers refactoring
Date Wed, 11 Mar 2015 06:21:44 GMT
IGNITE-141 - Marshallers refactoring


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/2e2fe349
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/2e2fe349
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/2e2fe349

Branch: refs/heads/ignite-329
Commit: 2e2fe349feb1d64c4431feb994c96ba4366f8030
Parents: 2866f02
Author: Valentin Kulichenko <vkulichenko@gridgain.com>
Authored: Wed Mar 4 22:19:59 2015 -0800
Committer: Valentin Kulichenko <vkulichenko@gridgain.com>
Committed: Wed Mar 4 22:19:59 2015 -0800

----------------------------------------------------------------------
 .../ignite/marshaller/optimized/OptimizedObjectInputStream.java    | 1 +
 .../ignite/marshaller/optimized/OptimizedObjectOutputStream.java   | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2e2fe349/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectInputStream.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectInputStream.java
b/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectInputStream.java
index 724abbf..aaeffa1 100644
--- a/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectInputStream.java
+++ b/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectInputStream.java
@@ -116,6 +116,7 @@ class OptimizedObjectInputStream extends ObjectInputStream {
     @Override public void close() throws IOException {
         reset();
 
+        ctx = null;
         clsLdr = null;
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2e2fe349/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectOutputStream.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectOutputStream.java
b/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectOutputStream.java
index 0bcefe4..9e392be 100644
--- a/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectOutputStream.java
+++ b/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/OptimizedObjectOutputStream.java
@@ -104,6 +104,8 @@ class OptimizedObjectOutputStream extends ObjectOutputStream {
     /** {@inheritDoc} */
     @Override public void close() throws IOException {
         reset();
+
+        ctx = null;
     }
 
     /** {@inheritDoc} */


Mime
View raw message