Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6F565200B89 for ; Wed, 7 Sep 2016 06:07:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6E19D160ACE; Wed, 7 Sep 2016 04:07:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8BEE8160AA9 for ; Wed, 7 Sep 2016 06:07:55 +0200 (CEST) Received: (qmail 76221 invoked by uid 500); 7 Sep 2016 04:07:54 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 76209 invoked by uid 99); 7 Sep 2016 04:07:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2016 04:07:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1349AC05B8 for ; Wed, 7 Sep 2016 04:07:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.198 X-Spam-Level: ** X-Spam-Status: No, score=2.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ta6kZr7dURAG for ; Wed, 7 Sep 2016 04:07:52 +0000 (UTC) Received: from mail-ua0-f176.google.com (mail-ua0-f176.google.com [209.85.217.176]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id B4CB35FC19 for ; Wed, 7 Sep 2016 04:07:51 +0000 (UTC) Received: by mail-ua0-f176.google.com with SMTP id b7so3076058uab.3 for ; Tue, 06 Sep 2016 21:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=pqPa/SqTHGF1qFN6rDHmd9XoDOcJtVUUAHGGBFjRSVU=; b=KJQuER3BU+1lprlTVY4darofhyxZALThuPBZG3yJPmmy9sBFnJEBnsoio4BZcmnClk PzQLkxsStYZrYklTKHm46Zvh5SphvUCW5F9WjLPvDOVApHBjGYsJvRgDgMqC5w9kizhQ AC+hVdDOfqpOMRuWBB5QJEaWm36hbySlDYS+hDH0gQ29O54Uo16O2lQtZn7Hon409I/j vvDacazMSXvolTHiXhdQ96QmYSkV1BbZeJumcU4lvq/BXPBKeEaVQanKsFID0lEbgR5C KKZ1EkXgfhz5ya7zG7jKosFDSs7VzQc+HeXrVhRZAqNr+o0wKpdzRt8WjrMzJdsqV4TR AgBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=pqPa/SqTHGF1qFN6rDHmd9XoDOcJtVUUAHGGBFjRSVU=; b=J5iD4hG0oEQ5a3E1ewNNxEmZX8nAuWVeHalFWVHYQmtenY3hMmZXB7SzZoPV+iXIpD AWeTsX9z2pQmgKmVkYkr4APVNbGMyvmYu86W4z9J6w+6JwZDXBExm2WsoJNH4Hj2GgTJ T8zXoLu/xLTqFIs8ox3uZA37aroBYHyfyb68aInFwO4fjoJEHGg6vePfTn66u3/d9DmM JzRtfpbfZ/T3G+Th663VaLF4jwu55Dg2kYZbgjNFDvIm2pc5c+I89md5Lzey0xfya0/m fzWpMbXzFY6NbfSIhQdG6X/VBafxok+sR66MUIEbi1YMk15dWnL6wyQrOuEVQsM6ehQo qn2A== X-Gm-Message-State: AE9vXwM0HyepeXcU277ZY1oeqOIpis8ntAZLEqIEiUFFhwaBuQ+IUZyCYi92A8fbDq2T5CfAqAPUnYqrfdCepw== X-Received: by 10.159.36.147 with SMTP id 19mr15991571uar.126.1473221271153; Tue, 06 Sep 2016 21:07:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.111.133 with HTTP; Tue, 6 Sep 2016 21:07:50 -0700 (PDT) In-Reply-To: References: <7C8777FA-A36D-4696-AB57-3E86A4B310BA@gmail.com> From: Matt Sicker Date: Tue, 6 Sep 2016 23:07:50 -0500 Message-ID: Subject: Re: Move org.apache.logging.log4j.util.LoaderUtil.isClassAvailable(String) to Core? To: Log4J Users List Content-Type: multipart/alternative; boundary=001a113dff408af79d053be30e13 archived-at: Wed, 07 Sep 2016 04:07:56 -0000 --001a113dff408af79d053be30e13 Content-Type: text/plain; charset=UTF-8 If you move it to Loader, you can just use StatusLogger. LowLevelLogUtil is there for the classes that have to load before StatusLogger can properly load. On 6 September 2016 at 21:08, Gary Gregory wrote: > Hm, that methods depends on the package private class LowLevelLogUtil. So > moving the method to Core would mean making LowLevelLogUtil public. I'm not > sure that's a good tradeoff... > > Gary > > On Tue, Sep 6, 2016 at 7:44 PM, Remko Popma wrote: > > > Ah! I didn't look at the code. If there's no risk of breaking user code I > > have no objection. > > > > Apologies. > > > > Sent from my iPhone > > > > > On 2016/09/07, at 8:11, Gary Gregory wrote: > > > > > > How could moving an API marked @since 2.7 break user code? > > > > > > Gary > > > > > >> On Tue, Sep 6, 2016 at 6:34 PM, Remko Popma > > wrote: > > >> > > >> Is there a problem that needs solving here? > > >> I know we consider the API module's util package private, but I really > > >> don't like making changes that could break user code for no good > > reason... > > >> > > >> Sent from my iPhone > > >> > > >>> On 2016/09/07, at 6:36, Matt Sicker wrote: > > >>> > > >>> Might as well. If we need it in api, we can move it back later. > > >>> > > >>>> On 6 September 2016 at 15:54, Gary Gregory > > >> wrote: > > >>>> > > >>>> The API module method > > >>>> org.apache.logging.log4j.util.LoaderUtil.isClassAvailable(String) > is > > >>>> @since > > >>>> 2.7 and is only called from the Core module. I propose we move it to > > >> Core. > > >>>> > > >>>> Gary > > >>>> > > >>>> -- > > >>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org > > >>>> Java Persistence with Hibernate, Second Edition > > >>>> > > >>>> JUnit in Action, Second Edition > > >>>> Spring Batch in Action > > >>>> Blog: http://garygregory.wordpress.com > > >>>> Home: http://garygregory.com/ > > >>>> Tweet! http://twitter.com/GaryGregory > > >>> > > >>> > > >>> > > >>> -- > > >>> Matt Sicker > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > > >> For additional commands, e-mail: log4j-user-help@logging.apache.org > > > > > > > > > -- > > > E-Mail: garydgregory@gmail.com | ggregory@apache.org > > > Java Persistence with Hibernate, Second Edition > > > > > > JUnit in Action, Second Edition > > > Spring Batch in Action > > > Blog: http://garygregory.wordpress.com > > > Home: http://garygregory.com/ > > > Tweet! http://twitter.com/GaryGregory > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > > For additional commands, e-mail: log4j-user-help@logging.apache.org > > > > > > > -- > E-Mail: garydgregory@gmail.com | ggregory@apache.org > Java Persistence with Hibernate, Second Edition > > JUnit in Action, Second Edition > Spring Batch in Action > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- Matt Sicker --001a113dff408af79d053be30e13--