Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1310

JndiLookup mindlessly casts to String and should use String.valueOf()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Lookups
    • Labels:
      None

      Description

      The value returned from Context.lookup() is cast to String which can cause problems if the value is, well, anything else.

        Attachments

          Activity

            People

            • Assignee:
              jvz Matt Sicker
              Reporter:
              jvz Matt Sicker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: