public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/8628: catch assignments with no effect
@ 2002-11-24 6:06 tromey
0 siblings, 0 replies; only message in thread
From: tromey @ 2002-11-24 6:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 8628
>Category: java
>Synopsis: catch assignments with no effect
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 18 13:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
The eclipse java compiler will warn about statements
with no effect. This can be useful to catch bugs like this:
void setField(int newVal) { this.val = val; }
We've had bugs like this in libgcj.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-18 21:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-24 6:06 java/8628: catch assignments with no effect tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).