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:32:44 UTC

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

[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.


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

Posted by "Andrew Cornwall (JIRA)" <ji...@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.


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

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

Sian January resolved HARMONY-5937.
-----------------------------------

    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][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
>            Assignee: Sian January
>            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.


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

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

Tim Ellison closed HARMONY-5937.
--------------------------------


> [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
>            Assignee: Sian January
>            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.