You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Paul Golick (JIRA)" <tu...@ws.apache.org> on 2006/05/02 20:10:46 UTC

[jira] Updated: (TUSCANY-256) loadClass in SDOUtil receiving exception because different class loaders are used

     [ http://issues.apache.org/jira/browse/TUSCANY-256?page=all ]

Paul Golick updated TUSCANY-256:
--------------------------------

    Attachment: patchSDOUtil.txt

The attached patch file moves the loadClass method into a PrivelegedExceptionAction object and invokes it with a doPriveleged method.

> loadClass in SDOUtil receiving exception because different class loaders are used
> ---------------------------------------------------------------------------------
>
>          Key: TUSCANY-256
>          URL: http://issues.apache.org/jira/browse/TUSCANY-256
>      Project: Tuscany
>         Type: Bug

>   Components: Java SDO Implementation
>  Environment: all
>     Reporter: Paul Golick
>  Attachments: patchSDOUtil.txt
>
> In SDOUtil.java it is necessary that the loadClass method be wrapped and done by invoking AccessController.doPriveleged on a PrivelegedExceptionAction object because the current class loader can be different than the one previously used to load the class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira