Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Cannot Reproduce
-
1.7.0
-
None
-
None
-
Operating System: All
Platform: All
-
31019
Description
BeanUtils.describe() has the problem that it can be called infinitely if used
inside of the bean it is describing. For instance, a bean with the following
code will fail:
class MyBean
{
public Map getParameterMap()
}
The problem is when the method calls getProperty() on the "parameterMap"
property. I would expect some sort of sanity check as this can bring down the
server with a StackOverflow exception, when it is not entirely obvious why.