Mantis - Hessian
Viewing Issue Advanced Details
2909 major always 09-05-08 15:10 09-11-08 15:08
aloksingh  
ferg  
normal  
closed 3.2.0  
fixed  
none    
none 3.2.1  
0002909: BasicDeserialized.readLengthList does not pick long arrays
The switch block has no case statement for LONG_ARRAY, so will bomb when encountering fields of type long[]

FIX: Add the following case statement
case LONG_ARRAY: {
      long []data = new long[length];

      in.addRef(data);
        
      for (int i = 0; i < data.length; i++)
    data[i] = in.readLong();

      return data;
    }


Notes
(0003430)
ferg   
09-11-08 15:08   
hessian/3b2p