Jason Winnebeck wrote:
> Regardless of that, it is certainly true that you
> can't call the Util method from the catch since
> RESOURCE_BUNDLE is not initialized. At minimum,
> fix the spelling mistake in "stack tace" ;).
> We'll have to use this modified version in our
> environment as it doesn't work the current way
> (maybe the 2-arg version works?)
Jason,
Already fixed that issue ;)
>
> As for the main issue, from what I understand my
> version meets the javadoc exactly, but if there
> really is some issue using the 1-arg getBundle,
> then your idea might work to try both and then
> throw only if both ways fail/throw. I'd
> definitely make sure to add comments about the
> design choice there so someone like myself doesn't
> come along, think it's silly, and change it back.
>
> I'll try to keep myself apprised of how this bug
> is checked out. Is there an easy way I can do
> that besides watching this forum?
If you file it as a bug at
http://bugs.mysql.com/ it will get tracked. If you don't get to that by the end-of-day today, I'll go ahead and do it (even though I've fixed the bug, just haven't pushed into the source repository yet).
Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html