7116404: Miscellaneous warnings (java.rmi.**, serialization, some core classes)
Alan.Bateman at oracle.com
Tue Nov 29 16:10:19 UTC 2011
I don't have time on Thursday to get involved in the warnings fest .
However I would like to contribute something and to that end the
following webrev proposes changes to eliminate the warnings from several
classes including java.rmi.**, the serialization classes, and several
The changes are mostly trivial, and mostly to raw type usages. One
tricky one ObjectInputStream.readEnum where I had to use a raw type
(Maurizio and I chatted about this one and there doesn't seem to be a
better workaround). There is one non-warnings change in
java.rmi.server.LogStream where I replaced a usage of legacy Hashtable
with a HashMap.
More information about the core-libs-dev