We have an application that talks to Flash clients through sockets. Messages are in XML and are not too long, up to 1000 characters.
After the update, messages are not received correctly on the client side - one byte is missing at the end. The first message is correct, the byte is missing at the end of the second message, and Flash stops due to a parsing error.
The application runs on Linux during production, but I was able to replicate the error in my development environment on Windows.
Two classes are used for communication:
<a href="http://pastebin.com/3dd2Jzsq">WrappedInputStream</a>
and
<a href="http://pastebin.com/hwVwNe4A">WrappedOutputStream</a>
I can change the source of Java, but I can not change the Flash client.
Has anyone else experienced similar issues after upgrading Java? Is there any way to fix this?
source