Mantis - Quercus
Viewing Issue Advanced Details
3558 major always 06-11-09 19:01 06-12-09 18:33
moriyoshi  
 
normal  
new 4.0.0  
open  
none    
none  
0003558: Marshalling cost estimation doesn't work with values represented by Var
In overloaded method resolution, JavaInvoker doesn't take the account of the container values (Var). This may end up with wrong choice of the method. The patch is attached.
 patch [^] (401 bytes) 06-11-09 19:01

Notes
(0004075)
nam   
06-12-09 18:33   
I'm not sure if your proposed patch is correct. The first args[i].toValue() should have guaranteed that the argument is not a Var.