Revision: 5347
          http://jnode.svn.sourceforge.net/jnode/?rev=5347&view=rev
Author:   chrisboertien
Date:     2009-04-25 19:54:13 +0000 (Sat, 25 Apr 2009)

Log Message:
-----------
Isolate socket was causing a SocketException when getXStream was called because
the Socket.isConnected would never return true, as we dont actually connect
the socket. This override sets the socket to always connected. And at least 
allows
the isolate invoker to work.

Signed-off-by: chrisboertien <chris.boert...@gmail.com>

Modified Paths:
--------------
    trunk/shell/src/shell/org/jnode/shell/isolate/IsolateSocket.java

Modified: trunk/shell/src/shell/org/jnode/shell/isolate/IsolateSocket.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/isolate/IsolateSocket.java    
2009-04-25 13:56:47 UTC (rev 5346)
+++ trunk/shell/src/shell/org/jnode/shell/isolate/IsolateSocket.java    
2009-04-25 19:54:13 UTC (rev 5347)
@@ -42,4 +42,9 @@
     public IsolateSocket(OutputStream out) throws SocketException {
         super(new IsolateSocketImpl(out)); 
     }
+    
+    @Override
+    public boolean isConnected() {
+        return true;
+    }
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jnode-svn-commits mailing list
Jnode-svn-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits

Reply via email to