Message4859
In r6500 I added a test that calls all the methods on Implementation in the following Java code
from Python:
public class DisagreeingInterfaceOverrides {
public interface StringArg {
String call(String arg);
}
public interface IntArg {
String call(int arg);
}
public interface ListArg {
String call(List<Object> arg);
}
public interface ArrayListArg {
String call(List<Object> arg);
}
public static class Implementation implements StringArg, IntArg, ListArg, ArrayListArg {
public String call(String arg) {
return "String";
}
public String call(int arg) {
return "int";
}
public String call(List<Object> arg) {
return "List";
}
public String call(ArrayList<Object> arg) {
return "ArrayList";
}
}
}
When using the type specified for each method, I got the proper String back from that method.
Could you attach some code that causes the problem? I'm not able to reproduce it from your
description. |
|
Date |
User |
Action |
Args |
2009-06-29 02:26:44 | cgroves | set | messageid: <1246242404.52.0.0316311797755.issue1381@psf.upfronthosting.co.za> |
2009-06-29 02:26:44 | cgroves | set | recipients:
+ cgroves, sreimers |
2009-06-29 02:26:44 | cgroves | link | issue1381 messages |
2009-06-29 02:26:43 | cgroves | create | |
|