From: Pedro Izecksohn <izecksohn@yahoo.com>
To: mauve-discuss@sources.redhat.com
Cc: classpath@gnu.org
Subject: Re: ResourceBundle Mauve test.
Date: Mon, 13 Feb 2006 05:30:00 -0000 [thread overview]
Message-ID: <20060213053025.1079.qmail@web50102.mail.yahoo.com> (raw)
In-Reply-To: <20060213050641.88047.qmail@web50112.mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
Proposed fix: To add a (Locale) before both null appearances. As the
.diff attached.
What do you think about it?
[-- Attachment #2: 3537689465-getBundle.java.diff --]
[-- Type: text/plain, Size: 565 bytes --]
--- 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)
next prev parent reply other threads:[~2006-02-13 5:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 5:06 Pedro Izecksohn
2006-02-13 5:30 ` Pedro Izecksohn [this message]
2006-02-13 7:53 ` David Daney
2006-02-13 21:58 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060213053025.1079.qmail@web50102.mail.yahoo.com \
--to=izecksohn@yahoo.com \
--cc=classpath@gnu.org \
--cc=mauve-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).