changeset 42020 | 8eacd62bf4f7 |
parent 40891 | 8010999ff6d0 |
--- a/hotspot/test/serviceability/jdwp/JdwpCanReadReply.java Wed Oct 19 12:10:43 2016 +0200 +++ b/hotspot/test/serviceability/jdwp/JdwpCanReadReply.java Tue Oct 18 14:27:48 2016 +0300 @@ -31,7 +31,7 @@ private boolean canRead; protected void parseData(DataInputStream ds) throws IOException { - canRead = ds.read() == 1; + canRead = (ds.read() != 0); } public boolean canRead() {