java/8628: catch assignments with no effect
tromey@redhat.com
tromey@redhat.com
Mon Nov 18 13:26:00 GMT 2002
>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:
More information about the Java-prs
mailing list