-
Bug
-
Resolution: Done
-
Minor
-
EAP_EWP 5.1.1
-
None
-
JBoss EAP 5.1.1
JSF 1.2
-
-
-
-
Documented as Resolved Issue
-
NEW
When overloading a method with two implementations, like so:
@PostConstruct
public void init()
public String init(Object foo)
{ this.name = "init () with foo"; return null; }PostConstruct invocation fails with an error:
2011-08-29 16:41:17,434 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jsfHello].[jsp]] (http-localhost%2F127.0.0.1-808
0-2) Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgumentException: wrong number of arguments
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)