No limits on the MapResourceBundle recursive lookup
---------------------------------------------------
Key: GTNPORTAL-961
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-961
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Matt Wringe
The map resource bundle doesn't have any limits on the amount of recursion it will try
and do when resolving a message.
For example, if we have a properties file with:
word.cancel=#{word.cancel}
Then we will end up in an infinite loop (eventual stackoverflow exception) when trying to
resolve #{word.cancel}.
When it tries to resolve word.cancel, it will get back #{word.cancel} which it will try
and resolve again, ...
We are going to need to have a check on the level of recursion allowed when resolving
messages from the resource bundle.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira