Author: david.lloyd(a)jboss.com
Date: 2008-11-19 10:28:09 -0500 (Wed, 19 Nov 2008)
New Revision: 4703
Modified:
remoting3/trunk/transporter/src/main/java/org/jboss/remoting/transporter/TransporterInvocation.java
Log:
One more unsigned short fix
Modified:
remoting3/trunk/transporter/src/main/java/org/jboss/remoting/transporter/TransporterInvocation.java
===================================================================
---
remoting3/trunk/transporter/src/main/java/org/jboss/remoting/transporter/TransporterInvocation.java 2008-11-19
14:41:04 UTC (rev 4702)
+++
remoting3/trunk/transporter/src/main/java/org/jboss/remoting/transporter/TransporterInvocation.java 2008-11-19
15:28:09 UTC (rev 4703)
@@ -70,11 +70,11 @@
name = (String) in.readObject();
final int cnt = in.readShort() & 0xffff;
final Class<?>[] parameterTypes = new Class<?>[cnt];
- for (short i = 0; i < cnt; i ++) {
+ for (int i = 0; i < cnt; i ++) {
parameterTypes[i] = (Class<?>) in.readObject();
}
final Object[] args = new Object[cnt];
- for (short i = 0; i < cnt; i ++) {
+ for (int i = 0; i < cnt; i ++) {
args[i] = in.readObject();
}
this.parameterTypes = parameterTypes;
Show replies by date