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 9864011F53 for ; Tue, 2 Sep 2014 02:54:22 +0000 (UTC) Received: (qmail 95550 invoked by uid 500); 2 Sep 2014 02:54:21 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 95294 invoked by uid 500); 2 Sep 2014 02:54:21 -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 95198 invoked by uid 99); 2 Sep 2014 02:54:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 02:54:20 +0000 Date: Tue, 2 Sep 2014 02:54:20 +0000 (UTC) From: "Matt Sicker (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LOG4J2-809) Move caller class reflection utils to API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Matt Sicker created LOG4J2-809: ---------------------------------- Summary: Move caller class reflection utils to API Key: LOG4J2-809 URL: https://issues.apache.org/jira/browse/LOG4J2-809 Project: Log4j 2 Issue Type: Task Components: API Affects Versions: 2.1 Reporter: Matt Sicker Assignee: Matt Sicker In particular, ReflectiveCallerClassUtility should be moved into the API inside the util package. This will provide a nice alternative for making a new Throwable each time. For an idea on why this can be useful, run the ReflectionBenchmark in log4j-perf and note the differences. It's rather significant. Since this would go in the util package, it would be a non-public API. It would make sense for some very, very common utility classes like this to be in there. -- 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