Message5804

Author zyasoft
Recipients akong, alex.gronholm, zyasoft
Date 2010-06-14.21:53:15
SpamBayes Score 0.024604773
Marked as misclassified No
Message-id <1276552396.06.0.709022667099.issue1615@psf.upfronthosting.co.za>
In-reply-to
Content
PyReflectedFunction and supporting classes do not take in account that a Java method may be using varargs. Because varargs is simply a form of autoboxing, it's possible to still invoke through a workaround. Using the example code submitted by Alex, this would look like:

t = Test()
t.test([]) # instead of t.test()
t.test(["abc", "xyz"]) # instead of t.test("abc", "xyz")
# etc
History
Date User Action Args
2010-06-14 21:53:16zyasoftsetmessageid: <1276552396.06.0.709022667099.issue1615@psf.upfronthosting.co.za>
2010-06-14 21:53:16zyasoftsetrecipients: + zyasoft, akong, alex.gronholm
2010-06-14 21:53:16zyasoftlinkissue1615 messages
2010-06-14 21:53:15zyasoftcreate