This is the mail archive of the
mauve-discuss@sourceware.org
mailing list for the Mauve project.
Re: ResourceBundle Mauve test.
- From: Pedro Izecksohn <izecksohn at yahoo dot com>
- To: mauve-discuss at sources dot redhat dot com
- Cc: classpath at gnu dot org
- Date: Sun, 12 Feb 2006 21:30:25 -0800 (PST)
- Subject: Re: ResourceBundle Mauve test.
Proposed fix: To add a (Locale) before both null appearances. As the
.diff attached.
What do you think about it?
--- 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)