From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16880 invoked by alias); 12 Aug 2011 07:39:52 -0000 Received: (qmail 16794 invoked by uid 22791); 12 Aug 2011 07:39:50 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Aug 2011 07:39:25 +0000 Received: by qwh5 with SMTP id 5so1618902qwh.20 for ; Fri, 12 Aug 2011 00:39:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.149.8 with SMTP id r8mr351534qcv.293.1313134764738; Fri, 12 Aug 2011 00:39:24 -0700 (PDT) Received: by 10.229.240.133 with HTTP; Fri, 12 Aug 2011 00:39:24 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Aug 2011 16:22:00 -0000 Message-ID: Subject: Re: [PATCH] [JAVA] Double.parseDouble(null) throw NullPointerException From: Bryce McKinlay To: Jie Liu Cc: Tom Tromey , 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/msg00069.txt.bz2 On Fri, Aug 12, 2011 at 8:27 AM, Jie Liu wrote: > The method length() is not a final method, as java/lang/String.java line = 447: > > =A0public int length() > =A0{ > =A0 =A0return count; > =A0} > > Is this the problem? As String is a final class, all its methods are implicitly final. Bryce