StubValueStack.findValue(expr,throw) calls itself
-------------------------------------------------

                 Key: WW-3496
                 URL: https://issues.apache.org/jira/browse/WW-3496
             Project: Struts 2
          Issue Type: Bug
          Components: Value Stack
    Affects Versions: 2.2.1
            Reporter: John Lindal
            Priority: Minor


The code in 2.2.1 is:

    public Object findValue(String expr) {
        return ctx.get(expr);
    }

    public Object findValue(String expr, boolean throwExceptionOnFailure) {
        return findValue(expr, false);
    }

I'm pretty sure it ought to be:

    public Object findValue(String expr) {
        return findValue(expr, false);
    }

    public Object findValue(String expr, boolean throwExceptionOnFailure) {
        return ctx.get(expr);
    }


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to