Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D92C189FC for ; Mon, 22 Jun 2015 16:29:01 +0000 (UTC) Received: (qmail 96203 invoked by uid 500); 22 Jun 2015 16:29:01 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 96154 invoked by uid 500); 22 Jun 2015 16:29:01 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 96145 invoked by uid 99); 22 Jun 2015 16:29:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jun 2015 16:29:01 +0000 Date: Mon, 22 Jun 2015 16:29:01 +0000 (UTC) From: "Gary Gregory (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (LOG4J2-1058) Log4jMarker#contains(String) does not respect org.slf4j.Marker contract MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4J2-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-1058. ---------------------------------- Resolution: Fixed Fix Version/s: 2.4 Fixed in Git master. Please verify and close. > Log4jMarker#contains(String) does not respect org.slf4j.Marker contract > ----------------------------------------------------------------------- > > Key: LOG4J2-1058 > URL: https://issues.apache.org/jira/browse/LOG4J2-1058 > Project: Log4j 2 > Issue Type: Bug > Components: SLF4J Bridge > Affects Versions: 2.3 > Reporter: Daniel Branzea > Priority: Minor > Fix For: 2.4 > > > Expected behavior > ============== > 'org.apache.logging.slf4j.Log4jMarker' implements 'org.slf4j.Marker'. > 'org.slf4j.Marker#contains(String name)' contract states that: "If 'name' is null the returned value is always false." > http://www.slf4j.org/apidocs/org/slf4j/Marker.html#contains%28java.lang.String%29 > Actual behavior > ============= > 'org.apache.logging.slf4j.Log4jMarker#contains(final String name)' throws 'IllegalArgumentException' if 'name' is null -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org