From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29684 invoked by alias); 12 Aug 2011 07:28:11 -0000 Received: (qmail 29669 invoked by uid 22791); 12 Aug 2011 07:28:10 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yw0-f47.google.com (HELO mail-yw0-f47.google.com) (209.85.213.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Aug 2011 07:27:51 +0000 Received: by ywe9 with SMTP id 9so1887638ywe.20 for ; Fri, 12 Aug 2011 00:27:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.175.228 with SMTP id z64mr1961597yhl.3.1313134070518; Fri, 12 Aug 2011 00:27:50 -0700 (PDT) Received: by 10.147.82.10 with HTTP; Fri, 12 Aug 2011 00:27:50 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Aug 2011 07:39:00 -0000 Message-ID: Subject: Re: [PATCH] [JAVA] Double.parseDouble(null) throw NullPointerException From: Jie Liu To: Tom Tromey Cc: java-patches@gcc.gnu.org, gcc-patches@gcc.gnu.org, Joel Sherrill Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2011-q3/txt/msg00068.txt.bz2 > Jie> But it does not work as we want, is there something wrong? > > Did you rebuild all of libgcj? Yes. :) > > If you did, then I don't know, you'll have to debug it, sorry. > > I vaguely recollect that -fcheck-references adds a check for 'this' at > the start of final methods. =A0If I'm misremembering, then that is > probably the problem. > The method length() is not a final method, as java/lang/String.java line 44= 7: public int length() { return count; } Is this the problem? Thanks, Jie > Tom >