Closed ombre42 closed 11 years ago
Good points. This would make it easier to work with overloading. It might take a while before we have time to work on this though. Right now we pretty much just fix the critical bugs..
If you are interested in contributing, we are happy to take pull requests. :)
doh, closed accidentally. nevermind.
hi jussimalinen and ombre42 , I also try to use JavalibCore, this feature is expected.
and does keyword based on javalibcore only support to use string as argument type. when I use int, there always a error. 20121207 09:45:14.773 : FAIL : java.lang.IllegalArgumentException
@chchgb Sorry I took so long to respond. JavalibCore supports all arguments types as of 1.0.3. What version of JavalibCore are you using? The behavior you are seeing happened back in 0.9.3 (just reproduced). Starting with 1.01, it should automatically convert String <-> int/Integer.
Yeah, the problem with "IllegalArgument from other object types" problem should be fixed in 1.0.3. This was issue #5
I've started working on this issue https://github.com/robotframework/JavalibCore/commit/ccdb7f99d07f535a76b60b9eabbf2694b63bed4d but this is still just a proof of concept.
Should be fully usable after https://github.com/robotframework/JavalibCore/commit/7ccdd5ca433e12886860bb75bfdb5e2489ac617d
This would make default value assignment more inline with Java's design Here are some ideas
inspiration could be found in org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping and many other places I'm sure