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

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Tue Apr 24 09:56:19 EDT 2012


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

Lincoln Baxter III updated FORGE-487:
-------------------------------------

    Fix Version/s: 1.0.4.Final
                       (was: 1.0.3.Final)

    
> 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
>             Fix For: 1.0.4.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