Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1B8310B28 for ; Mon, 2 Sep 2013 20:30:54 +0000 (UTC) Received: (qmail 37505 invoked by uid 500); 2 Sep 2013 20:30:54 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 37309 invoked by uid 500); 2 Sep 2013 20:30:53 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 37300 invoked by uid 99); 2 Sep 2013 20:30:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 20:30:52 +0000 Date: Mon, 2 Sep 2013 20:30:52 +0000 (UTC) From: "Michiel Toneman (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4027) Migrate to Commons-OGNL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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