tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgallim...@apache.org
Subject [3/5] tomee git commit: TOMEE-2234 serialize the handle as an int as opposed to a byte
Date Wed, 12 Dec 2018 22:33:28 GMT
TOMEE-2234 serialize the handle as an int as opposed to a byte


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/9a68c9cc
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/9a68c9cc
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/9a68c9cc

Branch: refs/heads/master
Commit: 9a68c9cc91a211ab64e79378e15426f8d8f3c5cb
Parents: c439177
Author: Jonathan Gallimore <jon@jrg.me.uk>
Authored: Wed Dec 12 10:41:32 2018 +0000
Committer: Jonathan Gallimore <jon@jrg.me.uk>
Committed: Wed Dec 12 10:41:32 2018 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/core/ivm/IntraVmArtifact.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/9a68c9cc/container/openejb-core/src/main/java/org/apache/openejb/core/ivm/IntraVmArtifact.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/core/ivm/IntraVmArtifact.java
b/container/openejb-core/src/main/java/org/apache/openejb/core/ivm/IntraVmArtifact.java
index 1800f11..8c31c33 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/core/ivm/IntraVmArtifact.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/core/ivm/IntraVmArtifact.java
@@ -71,12 +71,12 @@ public class IntraVmArtifact implements Externalizable {
 
     public void writeExternal(final ObjectOutput out) throws IOException {
         out.writeBoolean(staticArtifact);
-        out.write(instanceHandle);
+        out.writeInt(instanceHandle);
     }
 
     public void readExternal(final ObjectInput in) throws IOException {
         staticArtifact = in.readBoolean();
-        instanceHandle = in.read();
+        instanceHandle = in.readInt();
     }
 
     protected Object readResolve() throws ObjectStreamException {


Mime
View raw message