Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1216

NestedBasicPropertyIA missing "break" statement

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.1.7
    • logback-core
    • None

    Description

      The "public void body(InterpretationContext ec, String body)" method is missing a "break" statement in the "case AS_BASIC_PROPERTY_COLLECTION:" option. If this option is matched, both the "case" and "default" statements are both executed.

      I detected this error trying to add a "To" entry to an SMTPAppender.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            travistcummings Travis Cummings
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: