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 2018/08/03 07:49:00 UTC

[jira] [Resolved] (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 resolved JEXL-261.
--------------------------------
    Resolution: Fixed

https://github.com/apache/commons-jexl/commit/6c8f22a7a17f462f921ed07093d1eab0cdcf0968
https://github.com/apache/commons-jexl/commit/f1f466dee130b42c1b422e312d96db3268612eea

> 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
(v7.6.3#76005)