Community
Participate
Working Groups
The latest milestone build has a compiler option to warn about "unused private types fields and methods". This is warning about all the declarations of serialVersionUID which is the version id for serialization. This field *is* used even though it isn't directly referenced by any java code. This is one of the quirks of serialization. The compiler should not be warning about serialVersionUID not being used. For the same reason, it should not be warning about the methods readResolve() and writeReplace() that are also used by serialization and are often marked as private.
Special cased all these. May want to open this in the future.
Fixed in latest
Verified.