[jboss-cvs] JBoss Messaging SVN: r8084 - in branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809: src/main/org/jboss/jms/client/remoting and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 21 17:12:04 EDT 2010
Author: jbertram at redhat.com
Date: 2010-09-21 17:12:04 -0400 (Tue, 21 Sep 2010)
New Revision: 8084
Modified:
branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809/.classpath
branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809/src/main/org/jboss/jms/client/remoting/ClientSocketWrapper.java
Log:
JBPAPP-4526
Modified: branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809/.classpath
===================================================================
--- branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809/.classpath 2010-09-14 03:24:18 UTC (rev 8083)
+++ branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809/.classpath 2010-09-21 21:12:04 UTC (rev 8084)
@@ -42,7 +42,7 @@
<classpathentry kind="lib" path="thirdparty/retrotranslator/lib/retrotranslator-runtime.jar"/>
<classpathentry kind="lib" path="thirdparty/retrotranslator/lib/retrotranslator-transformer.jar"/>
<classpathentry kind="lib" path="thirdparty/trove/lib/trove.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss/remoting/lib/jboss-remoting.jar" sourcepath="thirdparty/jboss/remoting/lib/jboss-remoting-src.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss/remoting/lib/jboss-remoting.jar"/>
<classpathentry kind="lib" path="thirdparty/jboss/jbossts14/lib/jbossjta.jar"/>
<classpathentry kind="var" path="ANT_HOME/lib/ant.jar"/>
<classpathentry kind="var" path="ANT_HOME/lib/ant-junit.jar"/>
@@ -62,6 +62,5 @@
<classpathentry kind="lib" path="thirdparty/jbossas/core-libs/lib/jboss-local-jdbc.jar"/>
<classpathentry kind="lib" path="thirdparty/jbossas/core-libs/lib/jboss-xml-binding.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="ANT_HOME"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809/src/main/org/jboss/jms/client/remoting/ClientSocketWrapper.java
===================================================================
--- branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809/src/main/org/jboss/jms/client/remoting/ClientSocketWrapper.java 2010-09-14 03:24:18 UTC (rev 8083)
+++ branches/Branch_JBossMessaging_1_4_0_SP3_CP09_JBMESSAGING-1809/src/main/org/jboss/jms/client/remoting/ClientSocketWrapper.java 2010-09-21 21:12:04 UTC (rev 8084)
@@ -48,7 +48,7 @@
{
// Constants ------------------------------------------------------------------------------------
final static private Logger log = Logger.getLogger(ClientSocketWrapper.class);
- final static protected int CLOSING = 1;
+ final static protected int CLOSING = 254;
// Static ---------------------------------------------------------------------------------------
@@ -104,7 +104,7 @@
{
if (log.isTraceEnabled()) log.trace("checking open connection");
- if (((DataInputStream)getInputStream()).available() > 1)
+ if (((DataInputStream)getInputStream()).available() > 0)
{
log.trace("remote endpoint has closed");
throw new IOException("remote endpoint has closed");
More information about the jboss-cvs-commits
mailing list