From commits-return-55688-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Thu Aug 07 23:33:35 2008 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 19696 invoked from network); 7 Aug 2008 23:33:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2008 23:33:35 -0000 Received: (qmail 27173 invoked by uid 500); 7 Aug 2008 23:33:34 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 27151 invoked by uid 500); 7 Aug 2008 23:33:34 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 27039 invoked by uid 99); 7 Aug 2008 23:33:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 16:33:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 23:32:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 64D88234C198 for ; Thu, 7 Aug 2008 16:32:44 -0700 (PDT) Message-ID: <1076500087.1218151964412.JavaMail.jira@brutus> Date: Thu, 7 Aug 2008 16:32:44 -0700 (PDT) From: "Andrew Cornwall (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5937) [classlib][nio_char] loadLibrary should be a privileged action In-Reply-To: <120577334.1218151964357.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 [ https://issues.apache.org/jira/browse/HARMONY-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Cornwall updated HARMONY-5937: ------------------------------------- Attachment: nio_char.patch > [classlib][nio_char] loadLibrary should be a privileged action > -------------------------------------------------------------- > > Key: HARMONY-5937 > URL: https://issues.apache.org/jira/browse/HARMONY-5937 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 5.0M6 > Environment: HEAD > Reporter: Andrew Cornwall > Priority: Minor > Attachments: nio_char.patch > > > Not all consumers of Harmony classes will have org.apache.harmony.* classes on the bootclasspath. To help these consumers, calls to loadLibrary should be wrapped in an AccessController.doPrivileged(){} - which, unless I'm mistaken, isn't being done here. > This patch wraps the call. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.