DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17253>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17253 MethodsUtils.invokeMethod() signature resolution is static for non-primitive types [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2003-03-25 22:08 ------- i've added the following test case and i cannot replicate this problem with thwe current CVS HEAD. i'd be happy to reopened and fix this bug if you can supply either a test case which demonstrates the problem to me or a more detailed reporting into JVM and OS so that we can determine if this is an OS-JVM specific issue. public class A { boolean called = false; public void foo(OutputStream os) { called = true; } } public void testParentMethod() throws Exception { OutputStream os = new PrintStream(System.out); PrintStream ps = new PrintStream(System.out); A a = new A(); MethodUtils.invokeMethod(a, "foo", os); assertTrue("Method Invoked(1)", a.called); a = new A(); MethodUtils.invokeMethod(a, "foo", ps); assertTrue("Method Invoked(2)", a.called); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
