Nov11 / kryo

Automatically exported from code.google.com/p/kryo
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Input#skip(long) always skips MAX_INT bytes. #119

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/kryo/source/browse/trunk/src/com/esotericsoftware/kryo
/io/Input.java#263

The logic in here is wrong. It should be using min() instead of max().

Original issue reported on code.google.com by luke.da...@gradle.biz on 3 Jul 2013 at 9:47

GoogleCodeExporter commented 8 years ago
Good catch! ;-) 
Fix is in the trunk now.

Original comment by romixlev on 23 Jul 2013 at 8:34

GoogleCodeExporter commented 8 years ago

Original comment by romixlev on 23 Jul 2013 at 8:36