You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/10/03 21:11:26 UTC

DO NOT REPLY [Bug 49925] "java.lang.NoSuchMethodException" error when call a managedbean int method

https://issues.apache.org/bugzilla/show_bug.cgi?id=49925

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-10-03 15:11:19 EDT ---
Having re-read the spec, I'm reasonably sure that this is not a bug. The EL
spec makes clear (in section 1.19) that integer literals are longs not ints so
the behaviour you see is expected.

During testing, I noticed that Tomcat doesn't handle longs properly either. I
have a patch for that and will be applying it shortly.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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