You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (Jira)" <ji...@apache.org> on 2021/06/07 13:15:06 UTC

[jira] [Closed] (JEXL-261) JexlEngine.setClassLoader(...) should reload namespaces that are classes

     [ https://issues.apache.org/jira/browse/JEXL-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Biestro closed JEXL-261.
------------------------------

> JexlEngine.setClassLoader(...) should reload namespaces that are classes
> ------------------------------------------------------------------------
>
>                 Key: JEXL-261
>                 URL: https://issues.apache.org/jira/browse/JEXL-261
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.2
>
>
> When setting the class-loader, JEXL does everything it can to 'forget' as much as possible classes that may have been loaded by the now obsolete loader. Glaring omission were namespaces / functors that should be reloaded.
> Incidentally, this will introduce a (user friendly) breaking API change, JexlUberspect missing the getClassLoader() method which is a stupid omission. Since this interface is *not* one that end-users implement, this change is harmless. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)