RFR: JDK-8068427 Hashtable deserialization reconstitutes table with wrong capacity

Peter Levart peter.levart at gmail.com
Sun Jan 4 17:58:42 UTC 2015


Hi,

While investigating the following issue:

     https://bugs.openjdk.java.net/browse/JDK-8029891

I noticed there's a bug in deserialization code of java.util.Hashtable 
(from day one probably):

     https://bugs.openjdk.java.net/browse/JDK-8068427

The fix is a trivial one-character replacement: '*' -> '/', but I also 
corrected some untruthful comments in the neighbourhood (which might 
have been true from day one, but are not any more):

http://cr.openjdk.java.net/~plevart/jdk9-dev/Hashtable.8068427/webrev.01/


Regards, Peter




More information about the core-libs-dev mailing list