struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michiel Toneman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4027) Migrate to Commons-OGNL
Date Mon, 02 Sep 2013 20:30:52 GMT

    [ https://issues.apache.org/jira/browse/WW-4027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756242#comment-13756242
] 

Michiel Toneman commented on WW-4027:
-------------------------------------

Please be careful with the current version of Commons OGNL. We tried to migrate to commons-ognl
to work around the broken 3.0.6 version packaged with Struts2 2.3.15.1 (see https://issues.apache.org/jira/browse/WW-4113)
and we ran into a blocker:

The DefaultClassResolver uses the following code to resolve classes:

ClassLoader classLoader = ClassLoader.getSystemClassLoader();
try
{
  result = classLoader.loadClass( className );
}

We stopped trying to get it to work at that point. I fail to see how that would work in a
Tomcat environment with mutiple classloaders.



                
> Migrate to Commons-OGNL
> -----------------------
>
>                 Key: WW-4027
>                 URL: https://issues.apache.org/jira/browse/WW-4027
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Expression Language
>    Affects Versions: 2.3.12
>            Reporter: Lukasz Lenart
>             Fix For: 3.0
>
>         Attachments: WW-4027.patch
>
>
> OGNL 3 was moved under ASF umbrella and right now it is a part of Commons project. It
would be nice to use the version 4.x when it will be released.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message