Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 276 by [email protected]: Variable arg Java keyword fails in combination with WITH NAME clause
http://code.google.com/p/robotframework/issues/detail?id=276 I have a Java keyword with variable argument array: public String myConcatenate(String[] args) {...} When I import my Library class with "Library my.pkg.MyLibrary" this keyword works as expected: myConcatenate A B C results in ABC But when I change the import to "Library my.pkg.MyLibrary WITH NAME MyLibrary", then the otherwise unchanged Robot test fals with: FAIL TypeError: concatenate(): expected 1 args; got 3 Obviously the "WITH NAME" clause changes the bahaviour for variable arguments keywords... Used version: Robot 2.0.2 (Jython 2.2a1 on java1.5.0_12) Note: According to Pekka Clark (by mail) this bug is also there in the latest development version of 2.0.x. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
