Sunbug 6934356: Vector.writeObject() synchronization risks serialization deadlock

Neil Richards neil.richards at ngmr.net
Mon Jan 10 11:02:51 UTC 2011


Based on Alan Bateman's feedback for my fix for a similar problem seen
in java.util.Hashtable
(http://mail.openjdk.java.net/pipermail/core-libs-dev/2011-January/005601.html),
I've revised the changeset once again to use diamond operators in the
testcases, and to their main methods throw Exceptions directly (rather
than catching them in the cause of a RuntimeException).

Also based on Dalibor Topic's suggestion
(http://mail.openjdk.java.net/pipermail/core-libs-dev/2010-December/005533.html),
I'm attaching the updated changeset as a webrev zip file, for ease of
review.

Please review this modified changeset, and let me know if anything
further is required for its acceptance.

Cheers,
Neil

--
Unless stated above:
IBM email: neil_richards at uk.ibm.com
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webrev.6934356.2.zip
Type: application/zip
Size: 116978 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20110110/3ebc34df/webrev.6934356.2.zip>


More information about the core-libs-dev mailing list