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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Lookups
    • 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

            mattsicker Matt Sicker
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: