|Anonymous | Login | Signup for a new account||02-27-2021 05:17 PST|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0001621||[Resin]||minor||always||02-21-07 09:38||06-20-07 11:24|
|Summary||0001621: hessian calls wrong methods|
attached are sources for reproducing this bug (needs jetty). The essence of this bug is in Client.java:
HessianProxyFactory hpf = new HessianProxyFactory();
Service service = (Service)hpf.create(Service.class, "http://localhost:1234/test/"); [^]
service is an interface with overloaded methods: aMethod(A), aMethod(B). Hessian calls on my linux machine (on win, it works!) on both calls aMethod(B) !
environment details: suse 10.2., jdk1.5.0_11, hessian 3.0.20
|Attached Files||hessianbug.zip [^] (5,565 bytes) 02-21-07 09:38|
The overloading in isOverloadEnabled() is only based on the length of the arguments. In this case, both methods have a single argument.
So this behavior is as expected, currently. We can change/add the behavior to allow for overload based on the types as well.
Well, I really didnt expect this "expected" behaviour. At least, it would be very important to document this unexpected expected behaviour ;) Where can you read about it currently (except for in the code)?
Still, I consider it to be a serious restriction...I would have to modify legacy code in order to use Hessian.
|02-21-07 09:38||hixxxxx||New Issue|
|02-21-07 09:38||hixxxxx||File Added: hessianbug.zip|
|04-06-07 15:28||ferg||Note Added: 0001825|
|04-06-07 15:40||ferg||Severity||major => minor|
|04-07-07 02:08||hixxxxx||Note Added: 0001826|
|06-20-07 11:24||ferg||Note Added: 0002070|
|06-20-07 11:24||ferg||Assigned To||=> ferg|
|06-20-07 11:24||ferg||Status||new => closed|
|06-20-07 11:24||ferg||Resolution||open => fixed|
|06-20-07 11:24||ferg||Fixed in Version||=> 3.1.2|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed.|
28 unique queries executed.