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] Created: (HARMONY-5935) [classlib][imageio] loadLibrary should be a privileged action

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

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

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

Tim Ellison closed HARMONY-5935.
--------------------------------


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

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

Sian January resolved HARMONY-5935.
-----------------------------------

    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

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

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

Andrew Cornwall updated HARMONY-5935:
-------------------------------------

    Attachment: imageio.patch

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