From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10534 invoked by alias); 13 Feb 2006 05:30:27 -0000 Received: (qmail 10525 invoked by uid 22791); 13 Feb 2006 05:30:27 -0000 X-Spam-Check-By: sourceware.org Received: from web50102.mail.yahoo.com (HELO web50102.mail.yahoo.com) (206.190.38.30) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 13 Feb 2006 05:30:26 +0000 Received: (qmail 1081 invoked by uid 60001); 13 Feb 2006 05:30:25 -0000 Message-ID: <20060213053025.1079.qmail@web50102.mail.yahoo.com> Received: from [200.179.255.185] by web50102.mail.yahoo.com via HTTP; Sun, 12 Feb 2006 21:30:25 PST Date: Mon, 13 Feb 2006 05:30:00 -0000 From: Pedro Izecksohn Subject: Re: ResourceBundle Mauve test. To: mauve-discuss@sources.redhat.com Cc: classpath@gnu.org In-Reply-To: <20060213050641.88047.qmail@web50112.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1693429177-1139808625=:151" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00022.txt.bz2 --0-1693429177-1139808625=:151 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline Content-length: 114 Proposed fix: To add a (Locale) before both null appearances. As the .diff attached. What do you think about it? --0-1693429177-1139808625=:151 Content-Type: text/plain; name="getBundle.java.diff" Content-Description: 3537689465-getBundle.java.diff Content-Disposition: inline; filename="getBundle.java.diff" Content-length: 565 --- getBundle.java~ 2006-02-13 07:14:14.000000000 +0000 +++ getBundle.java 2006-02-13 07:14:14.000000000 +0000 @@ -174,7 +174,7 @@ try { - ResourceBundle.getBundle (c ("Resource1"), null); + ResourceBundle.getBundle (c ("Resource1"), (Locale)null); harness.check (false); } catch (NullPointerException ex) @@ -184,7 +184,7 @@ try { - ResourceBundle.getBundle ("no such resource", null); + ResourceBundle.getBundle ("no such resource", (Locale)null); harness.check (false); } catch (NullPointerException ex) --0-1693429177-1139808625=:151--