Fix hashtable serialization capacity

Ported from openjdk8u121

changeset:   11513:cb701a5bd82c
user:        plevart
date:        Wed Jan 21 21:42:22 2015 +0100
summary:     8068427: Hashtable deserialization reconstitutes table with wrong capacity

Test: CtsLibcoreTestCases
Bug: 31028374
Change-Id: I8793346ade742b123b91ce79e5ab3d84e4cab82f
2 files changed