DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34766>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34766 ------- Additional Comments From [EMAIL PROTECTED] 2005-05-06 03:20 ------- Just a little more detail. The constructor for ConvertUtilsBean calls the "deregister" function to build up its default set of converters. And the converters registered there for Integer.class, Float.class, etc. are set up to return "default" values of 0, 0.0 etc. when passed nulls. Note, by the way, that the code (String) parameters[i] doesn't generate a string when parameters[i] is null; the cast still results in a null reference (I'm sure you knew that already). BTW, when I stated that "ConvertUtils is a Singleton" it's actually a singleton-per-context-classloader, so it *is* possible to register custom converters in a webapp without affecting other webapps. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
