RFR 9: 8155760 Implement Serialization Filtering
Andrej Golovnin
andrej.golovnin at gmail.com
Fri Sep 9 06:32:17 UTC 2016
Hi Roger,
src/java.base/share/classes/java/io/ObjectInputStream.java
259 private static class Logging {
The class can be final.
1265 ? Logger.Level.DEBUG
There is one space too much before "Logger".
2611 /** total bytes read from the stream */
2612 private int totalBytesRead = 0;
I think the type of the field totalBytesRead must be long. In the
#skip(long)-method you update it with a long value.
Best regards,
Andrej Golovnin
More information about the core-libs-dev
mailing list