From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20187 invoked by alias); 18 Nov 2002 21:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20152 invoked by uid 71); 18 Nov 2002 21:26:01 -0000 Resent-Date: 18 Nov 2002 21:26:01 -0000 Resent-Message-ID: <20021118212601.20151.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, tromey@redhat.com Received: (qmail 15843 invoked by uid 61); 18 Nov 2002 21:17:14 -0000 Message-Id: <20021118211714.15842.qmail@sources.redhat.com> Date: Sun, 24 Nov 2002 06:06:00 -0000 From: tromey@redhat.com Reply-To: tromey@redhat.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: java/8628: catch assignments with no effect X-SW-Source: 2002-11/txt/msg00903.txt.bz2 List-Id: >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: