db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r106935 - /incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMReader.java /incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
Date Mon, 29 Nov 2004 17:57:55 GMT
Author: kmarsden
Date: Mon Nov 29 09:57:53 2004
New Revision: 106935

URL: http://svn.apache.org/viewcvs?view=rev&rev=106935
Log:
Fix for Derby - 67 .  Network Server on a 64 bit JVM failes with Distributed Protocol Error


Modified:
   incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMReader.java
   incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java

Modified: incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMReader.java
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMReader.java?view=diff&rev=106935&p1=incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMReader.java&r1=106934&p2=incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMReader.java&r2=106935
==============================================================================
--- incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMReader.java	(original)
+++ incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMReader.java	Mon Nov
29 09:57:53 2004
@@ -664,7 +664,7 @@
 	protected byte readByte () throws DRDAProtocolException
 	{
 		ensureBLayerDataInBuffer (1, ADJUST_LENGTHS);
-		return (byte) (buffer[pos++] & 0xff);
+		return buffer[pos++];
 	}
 
 	/**

Modified: incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java?view=diff&rev=106935&p1=incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java&r1=106934&p2=incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java&r2=106935
==============================================================================
--- incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java	(original)
+++ incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java	Mon
Nov 29 09:57:53 2004
@@ -6913,7 +6913,7 @@
 	private boolean readBoolean(int codepoint) throws DRDAProtocolException
 	{
 		checkLength(codepoint, 1);
-		int val = reader.readByte();
+		byte val = reader.readByte();
 		if (val == CodePoint.TRUE)
 			return true;
 		else if (val == CodePoint.FALSE)

Mime
View raw message