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:34:46 UTC

[jira] Created: (HARMONY-5938) [classlib][prefs] loadLibrary should be a privileged action

[classlib][prefs] loadLibrary should be a privileged action
-----------------------------------------------------------

                 Key: HARMONY-5938
                 URL: https://issues.apache.org/jira/browse/HARMONY-5938
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M6
         Environment: HEAD
            Reporter: Andrew Cornwall
            Priority: Minor
         Attachments: prefs.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.


[jira] Resolved: (HARMONY-5938) [classlib][prefs] loadLibrary should be a privileged action

Posted by "Sian January (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sian January resolved HARMONY-5938.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Sian January

As discussed on the dev list, we have decided not to support this mode of operation in Harmony for now.  See http://mail-archives.apache.org/mod_mbox/harmony-dev/200811.mbox/%3cfc2fc95c0811180600o42491baejd01941e19691873f@mail.gmail.com%3e for discussion.

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


[jira] Closed: (HARMONY-5938) [classlib][prefs] loadLibrary should be a privileged action

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison closed HARMONY-5938.
--------------------------------


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


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

Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Cornwall updated HARMONY-5938:
-------------------------------------

    Attachment: prefs.patch

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