Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3496

StubValueStack.findValue(expr,throw) calls itself

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.1
    • 2.2.3
    • Value Stack
    • None
    • Patch

    Description

      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); }

      Attachments

        Activity

          People

            jafl John Lindal
            jafl5272 John Lindal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: