Skip to main content

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


These errors should only ever appear as warnings during the nightly and integration builds run by releng.

This is the difference between compiling in the workspace and compiling headless with the batch compiler, "errors" that are not real java compile problems are only warnings.

However, this doesn't mean they shouldn't be fixed :)

-Andrew



Chris Goldthorpe <cgold@xxxxxxxxxx>
Sent by: eclipse-dev-bounces@xxxxxxxxxxx

02/23/2009 05:41 PM

Please respond to
"General development mailing list of the Eclipse project."        <eclipse-dev@xxxxxxxxxxx>

To
"General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>
cc
Subject
Re: [eclipse-dev] New unused method/type/ctor/field diagnostics        from        Java compiler.






I would reiterate this alert and encourage committers to make sure that they build all their plug-in  projects using last weeks I-build, including those which you have not modified in the last week. I ran into three of these errors myself today when I was preparing to tag my projects for the integration build. They were trivial to fix.


Chris


From: Srikanth S Adayapalam <srikanth_sankaran@xxxxxxxxxx>
To: eclipse-dev@xxxxxxxxxxx
Date: 02/23/2009 02:13 PM
Subject: [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


_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/eclipse-dev

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top