struts-issues mailing list archives

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


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 (see
and we ran into a blocker:

The DefaultClassResolver uses the following code to resolve classes:

ClassLoader classLoader = ClassLoader.getSystemClassLoader();
  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:
>             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:

View raw message