You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Cornwall (JIRA)" <ji...@apache.org> on 2008/08/08 01:30:44 UTC

[jira] Updated: (HARMONY-5936) [classlib][misc] loadLibrary should be a privileged action

     [ https://issues.apache.org/jira/browse/HARMONY-5936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Cornwall updated HARMONY-5936:
-------------------------------------

    Attachment: misc.patch

> [classlib][misc] loadLibrary should be a privileged action
> ----------------------------------------------------------
>
>                 Key: HARMONY-5936
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5936
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M6
>         Environment: HEAD
>            Reporter: Andrew Cornwall
>            Priority: Minor
>         Attachments: misc.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.