[forge-issues] [JBoss JIRA] (FORGE-487) Plugins executed through core APIs like ScaffoldPlugin do not use correct ClassLoader

Koen Aers (JIRA) jira-events at lists.jboss.org
Sat May 26 05:25:18 EDT 2012


     [ https://issues.jboss.org/browse/FORGE-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koen Aers reassigned FORGE-487:
-------------------------------

    Assignee: Koen Aers

    
> Plugins executed through core APIs like ScaffoldPlugin do not use correct ClassLoader
> -------------------------------------------------------------------------------------
>
>                 Key: FORGE-487
>                 URL: https://issues.jboss.org/browse/FORGE-487
>             Project: Forge
>          Issue Type: Bug
>          Components: Builtin Plugins, Shell
>    Affects Versions: 1.0.0.Final
>            Reporter: Lincoln Baxter III
>            Assignee: Koen Aers
>             Fix For: 1.0.6.Final
>
>
> Executions of 3rd party plugins directly users correct ClassLoader from the plugin class itself.
> https://github.com/forge/core/blob/master/shell/src/main/java/org/jboss/forge/shell/command/Execution.java#L148
> But since the ScaffoldPlugin, which is built in, and directly invokes Facets from plugins, it is actually actually still invoking within the context of the ScaffoldPlugin's ClassLoader, not that of the Facet.
> We need a utility to more easily wrap invocations in the correct ClassLoader.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list