Community
Participate
Working Groups
If you turn on the new compiler warning that detects unused private fields and methods, and you have Serializable classes that use the magic methods private void writeObject(java.io.ObjectOutputStream out)
Somehow the description got mangled. Repeating: If you turn on the new compiler warning that detects unused private fields and methods, and you have Serializable classes that use the magic methods private void writeObject(java.io.ObjectOutputStream out) or private void readObject(java.io.ObjectInputStream in) A warning will be generated that these methods are not used. The warning code should recognize such "magic" methods (as I recall there are a few other special private methods as part of serialization) and not issue the warning. This behavior is observed with the I20030213 integration build.
Support got added in latest (not yet integrated).
*** This bug has been marked as a duplicate of 31495 ***