If we call the method writeObject() of FSTObjectOutput many times ( > Integer.MAX_VALUE+1), then we get the follow exception
Caused by: java.lang.ArrayIndexOutOfBoundsException: -2147483648
at org.nustaq.serialization.FSTObjectOutput.getCachedFI(FSTObjectOutput.java:294)
at org.nustaq.serialization.FSTObjectOutput.writeObjectInternal(FSTObjectOutput.java:317)
at org.nustaq.serialization.FSTObjectOutput.writeObject(FSTObjectOutput.java:284)
at org.nustaq.serialization.FSTObjectOutput.writeObject(FSTObjectOutput.java:193)
The Methode writeObject() increment "curDepth" without decrement "curDepth". It seems to be a bug.
If we call the method writeObject() of FSTObjectOutput many times ( > Integer.MAX_VALUE+1), then we get the follow exception
Caused by: java.lang.ArrayIndexOutOfBoundsException: -2147483648 at org.nustaq.serialization.FSTObjectOutput.getCachedFI(FSTObjectOutput.java:294) at org.nustaq.serialization.FSTObjectOutput.writeObjectInternal(FSTObjectOutput.java:317) at org.nustaq.serialization.FSTObjectOutput.writeObject(FSTObjectOutput.java:284) at org.nustaq.serialization.FSTObjectOutput.writeObject(FSTObjectOutput.java:193)
The Methode writeObject() increment "curDepth" without decrement "curDepth". It seems to be a bug.