incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r527252 - in /incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb: OB/GIOPConnectionThreaded.java OB/GIOPIncomingMessage.java OCI/IIOP/Transport_impl.java
Date Tue, 10 Apr 2007 19:12:19 GMT
Author: rickmcguire
Date: Tue Apr 10 12:12:18 2007
New Revision: 527252

URL: http://svn.apache.org/viewvc?view=rev&rev=527252
Log:
YOKO-338 RMI Util.loadClass() not using proper search order when not installed in the endorsed
dirs.

Modified:
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPConnectionThreaded.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPIncomingMessage.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Transport_impl.java

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPConnectionThreaded.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPConnectionThreaded.java?view=diff&rev=527252&r1=527251&r2=527252
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPConnectionThreaded.java
(original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPConnectionThreaded.java
Tue Apr 10 12:12:18 2007
@@ -452,8 +452,10 @@
             // messages from the peer are processed.
             //
             synchronized (this) {
-                if ((enabledOps_ & AccessOp.Read) == 0)
+                if ((enabledOps_ & AccessOp.Read) == 0) 
+                {
                     break;
+                }
             }
 
             //

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPIncomingMessage.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPIncomingMessage.java?view=diff&rev=527252&r1=527251&r2=527252
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPIncomingMessage.java
(original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPIncomingMessage.java
Tue Apr 10 12:12:18 2007
@@ -678,8 +678,10 @@
             // For GIOP 1.2, the body (if present) must be aligned on
             // an 8-octet boundary
             //
-            if (in_._OB_pos() < size_ + 12)
+            if (in_._OB_pos() < size_)
+            {
                 in_._OB_skipAlign(8);
+            }
 
             break;
         }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Transport_impl.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Transport_impl.java?view=diff&rev=527252&r1=527251&r2=527252
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Transport_impl.java
(original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Transport_impl.java
Tue Apr 10 12:12:18 2007
@@ -413,7 +413,7 @@
 
         setSoTimeout(t);
 
-        while (!buf.is_full()) {
+        while (!buf.is_full()) {                                 
             try {
                 out_.write(buf.data(), buf.pos(), buf.rest_length());
                 out_.flush();



Mime
View raw message