mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix boolean deserialization in ObjectInputStream
This commit is contained in:
parent
3c45db68c3
commit
7ed580cf84
@ -161,7 +161,7 @@ public class ObjectInputStream extends InputStream {
|
||||
case 'n':
|
||||
return null;
|
||||
case 'z':
|
||||
return (readLongToken() == 0);
|
||||
return (readLongToken() != 0);
|
||||
case 'b':
|
||||
return (byte) readLongToken();
|
||||
case 'c':
|
||||
|
Loading…
Reference in New Issue
Block a user