[
https://issues.jboss.org/browse/GTNPORTAL-961?page=com.atlassian.jira.plu...
]
Boleslaw Dawidowicz closed GTNPORTAL-961.
-----------------------------------------
Resolution: Out of Date
Should be verified in gatein master and reopened if still valid
No limits on the MapResourceBundle recursive lookup
---------------------------------------------------
Key: GTNPORTAL-961
URL:
https://issues.jboss.org/browse/GTNPORTAL-961
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Matt Wringe
Assignee: Minh Hoang TO
Labels: sprint_37
Original Estimate: 4 hours
Remaining Estimate: 4 hours
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, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira