RFR (XS): 8162819: fix minor Javadoc issues and remove warnings in java.net.Socket and java.net.Inet*Address

Daniel Fuchs daniel.fuchs at oracle.com
Mon Aug 1 10:09:56 UTC 2016


Hi Christoph,

On 01/08/16 10:43, Langer, Christoph wrote:
> Hi Daniel,
>
> the warning is shown by my Eclipse IDE, javac -Xlint does not warn about unused methods, I think.
>
> So, then the tag @SuppressWarnings("unused") should probably not be used? Or what's the official OpenJDK standard for this type of warnings?
>

I have no strong opinion on this - but I don't think
any other readObject / serialization callback have been annotated
in the JDK.

best regards,

-- daniel


More information about the net-dev mailing list