struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [GitHub] struts pull request: WW-4540: Strict DMI
Date Fri, 25 Sep 2015 12:09:39 GMT
2015-09-23 16:22 GMT+02:00 Christoph Nenning <Christoph.Nenning@lex-com.net>:
> But actually it currently does not behave as I would expect it. Due to
> PackageConfig.isStrictMethodInvocation(). It checks parent packages first
> which are usually preconfigured packages from s2 jars. If an application
> package wants do disable strict-DMI it cannot extend a framework package.

Ok, found a gut solution! Now Strict DMI is enabled by default but it
can be simple disabled by setting the attribute to false.

https://github.com/lukaszlenart/struts/commit/86afcbe611f7c3afda26e396cc4504d3c9998398#diff-655da7abe6e0dfac1f56124ac21adb5dR608


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message