Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E8D0D834 for ; Wed, 12 Sep 2012 08:39:22 +0000 (UTC) Received: (qmail 15459 invoked by uid 500); 12 Sep 2012 08:39:22 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 15156 invoked by uid 500); 12 Sep 2012 08:39:15 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 15100 invoked by uid 99); 12 Sep 2012 08:39:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 08:39:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ch007m@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vc0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 08:39:06 +0000 Received: by vcdm8 with SMTP id m8so1762226vcd.6 for ; Wed, 12 Sep 2012 01:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ov+Uf+Q6rh1+ug7ysmit3DKIi8ioYiU1rlmBoa/wciA=; b=KucbS4+DETwgRQsphrsqWjIfZNoAMFHa3dGV5aHU7XsPJFxNFr6VjOwHSawBJJbBZY k90mSOZc0xjatVjIlFd6FuGCgmwRN9scWVa8LK9jOOENW4uF0iVkcLTBxF5RIoGiYorf /oEb21/xoAlMPW0KDyZ3NvRKwRrznxneMedWJOmIxknSMeGMNTLLlKdYdzSYcLSOZT3Q 0tzpX6EqphMgo2Q3zgT5z2xmcQF3bs1Bc8tuYCSzK+a398L+0jgRQMRac7tyOA6/wF9h UZ38r8Qq/ijCXY6CnJDdua89c1Xg98JHG8Yi9g89aNEG26i9XjNzW2g/TcJ7RoEnHYVF WiXg== MIME-Version: 1.0 Received: by 10.58.173.130 with SMTP id bk2mr30776317vec.45.1347439125293; Wed, 12 Sep 2012 01:38:45 -0700 (PDT) Received: by 10.58.6.197 with HTTP; Wed, 12 Sep 2012 01:38:45 -0700 (PDT) Date: Wed, 12 Sep 2012 10:38:45 +0200 Message-ID: Subject: Can we remove this comment ? From: Charles Moulliard To: deltaspike-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b677e4c6b6ab004c97d1eef --047d7b677e4c6b6ab004c97d1eef Content-Type: text/plain; charset=ISO-8859-1 Hi, In the ClassUtils of deltaspike core module, there is a mention of a myfaces.jar file, can we remove it ? /** * Loads class for the given name * @param name name of the class * @return loaded class * @throws ClassNotFoundException if the class can't be loadedx@ */ public static Class loadClassForName(String name) throws ClassNotFoundException { try { // Try WebApp ClassLoader first return Class.forName(name, false, // do not initialize for faster startup getClassLoader(null)); } catch (ClassNotFoundException ignore) { // fallback: Try ClassLoader for ClassUtils (i.e. the myfaces.jar lib) return Class.forName(name, false, // do not initialize for faster startup ClassUtils.class.getClassLoader()); } } Regards, -- Charles Moulliard Apache Committer / Sr. Pr. Consultant at FuseSource.com Twitter : @cmoulliard Blog : http://cmoulliard.blogspot.com --047d7b677e4c6b6ab004c97d1eef--