https://bz.apache.org/bugzilla/show_bug.cgi?id=65358
--- Comment #1 from Mark Thomas <[email protected]> --- The EL spec is silent on how methods should be selected when there isn't an exact match between arguments and method parameters. Generally, the rule Tomcat tries to follow is to pick the same method as the Java compiler would. In this instance if you call: testBean.getMessage(testBean.getValue1()) then the Java compiler will call: getMessage(final EnumInterface enumInstance) which is what I would expect. I would also expect EL to behave the same way. It doesn't. I need to dig into what is going on with EL. On the surface it looks like a bug but it needs some further investigation to determine what is going on and why. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
