hazelcast/hazelcast — pull request #290 by nurkiewicz (2012-09-26 08:07:02+00:00)
Title: 100% CPU usage due to infinite loop in DataInputStream.readFully()

...rn -1 on empty ByteBuffer.

Now it returns 0, causing 100% CPU usage due to infinite loop in DataInputStream.readFully()