-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.3.16.3
-
Fix Version/s: 2.5.x
-
Component/s: Annotations, Plugin - Convention
-
Labels:None
PackageBasedActionConfigBuilder#buildConfiguration checks if there are duplicate action names on method annotations. If ActionSupport#execute is overridden and annotated with @Action, the duplicate action name check is skipped.
The check is disabled due to
PackageBasedActionConfigBuilder.java:674
if (!map.containsKey(DEFAULT_METHOD)
Having duplicate action names leads to different behavior with Java 7 or Java 8 environment (due to reflection method order).