Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResourceBundleMessageSource swallows IllegalArgumentException [SPR-6639] #11305

Closed
spring-projects-issues opened this issue Jan 4, 2010 · 2 comments

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jan 4, 2010

David Linsin opened SPR-6639 and commented

ResourceBundleMessageSource swallows an IllegalArgumentException in case the set properties file contains e.g. an Unicode character with a broken \uXXXX representation of the character. Java's ResouceBundle implementation throws a MissingResource, with its cause set to IllegalArgumentException. The same would be helpful in case of Spring's NoSuchMessageException.

I implemented a test case demonstrating the problem at http://github.com/dlinsin/area51/tree/master/ResourceBundleMessageSourceBug/


Affects: 3.0 GA

Attachments:

1 votes, 0 watchers

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jan 4, 2010

David Linsin commented

Mentioned TestCase

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Dec 28, 2018

Sébastien Deleuze commented

Closing groups of outdated issues. Please reopen if still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant