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)