DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16707>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16707

IllegalArgumentException while calling an overloaded method

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From [EMAIL PROTECTED]  2003-11-11 13:38 -------
I think the bug is more subtle than stated, because I think the problem really is if 
you have

public class Foo 
{ 
     public void a(Integer s) {}
     public void a(String i) {}
}

and your template has

  $foo.a($value)

and if $value is a null the first time and an String the second time, is that when it 
happens?

Because if you have

  $foo.a($valueisnull)
  $foo.a($string)

it shouldn't be a problem because the two $foo.XXXX are both separate nodes in the 
template's 
syntax tree, and thus are cached independently.  

Can you clarify?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to