Re: Bug in ResourceBundle.getBundle()

"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]> Wed, 9 Jun 2004 07:10:40 -0500
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <007e01c44e1a$c8265c90$764000b4@kardis>
Shawn
I tried this out and it does seem to correctly find 'MyBundle' if present.
It's just that the error message prints out the locale string.  Have you
seen a case where it doesn't actually find the correct bundle?

Kris

----- Original Message -----
From: "Shawn Silverman" <[email protected]>
To: "TINI List" <tini-6tN4nzCoH/[email protected]>
Sent: Friday, May 21, 2004 3:42 PM
Subject: [TINI]Bug in ResourceBundle.getBundle()


> The ResourceBundle.getBundle() call does not appear to follow the
> correct search pattern.  Say I request a bundle named "Bundle":
>
> ResourceBundle.getBundle("MyBundle");
>
> There is a MissingResourceException thrown saying it cannot find
> "MyBundle_en_US".  It should find the class "MyBundle" regardless.
>
> Thanks,
> -Shawn
>
> _______________________________________________
> TINI mailing list
> TINI-6tN4nzCoH/[email protected]
> To UNSUBSCRIBE, edit your profile, or see list archives:
> http://lists.dalsemi.com/mailman/listinfo/tini
>


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini