Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7
-
None
-
None
Description
Assuming the 2 small classes of OGNL-54 (One.java and Two.java)
and adding the same method to both:
public boolean hasChildren(String name)
{ return name.length() > 2; }
hasChildren('aaa') WORKS
hasChildren('aa') WORKS
hasChildren('a') WORKS
two.hasChildren('aaa') WORKS
two.hasChildren('aa') WORKS
two.hasChildren('a') FAILS