Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 8671 invoked from network); 19 Nov 2006 09:22:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2006 09:22:02 -0000 Received: (qmail 34411 invoked by uid 500); 19 Nov 2006 09:22:10 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 34319 invoked by uid 500); 19 Nov 2006 09:22:09 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 34308 invoked by uid 99); 19 Nov 2006 09:22:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Nov 2006 01:22:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Nov 2006 01:21:59 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 043B97142F9 for ; Sun, 19 Nov 2006 01:21:39 -0800 (PST) Message-ID: <12736230.1163928099014.JavaMail.jira@brutus> Date: Sun, 19 Nov 2006 01:21:39 -0800 (PST) From: "Simon Kitching (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Resolved: (LOGGING-107) AccessController use In-Reply-To: <11377677.1150804289858.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/LOGGING-107?page=all ] Simon Kitching resolved LOGGING-107. ------------------------------------ Fix Version/s: 1.1.1 Resolution: Fixed > AccessController use > -------------------- > > Key: LOGGING-107 > URL: http://issues.apache.org/jira/browse/LOGGING-107 > Project: Commons Logging > Issue Type: Bug > Affects Versions: 1.1.0 > Reporter: Simon Kitching > Fix For: 1.1.1 > > > A problem has been reported with 1.1 by Aaron Bruegl on 6/6/06. An AccessControlException is being thrown in an applet invoked from javascript even when the logging lib has been signed and granted permissions. > LogFactoryImpl.java:1250 in the 1.1 release has this line: > // try the parent classloader > currentCL = currentCL.getParent(); > which does seem to be a likely cause for the exception. > This code should be executed under an AccessController, so that granting the logging jar the appropriate permissions can fix the problem; without this, all calling code also needs to have that permission. > Maybe we should wrap method discoverLogImplementation in an AccessController, covering all cases like this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org