Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] New unused method/type/ctor/field diagnostics from Java compiler.


Hello !

        With the recent resolution of the following defects:

        https://bugs.eclipse.org/bugs/show_bug.cgi?id=201912 ([compiler] Unused public members of private classes not flagged)
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=264991  (Wrong 'unused' problem reported)
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=265142 (Compiler fails to warn on unused constructors of private classes)

you may begin to see new unused entity diagnostics from the Eclipse Java compiler if your private classes contains unused methods, types,
fields or constructors.  The first two fixes are available from Build ID I20090217-2200 and the final one will become available from the next
integration build.

        For projects which are configured so that an unused code diagnostics would result in an error, this would mean a build breakage
once you upgrade to the build with the fix (should your projects have unused code). Hence the advance alert.

FYI,
Thanks!
Srikanth



Back to the top