| Summary: | ecf, interface hirarchy, declarative services | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] ECF | Reporter: | andrei.kabanov2 | ||||
| Component: | ecf.remoteservices | Assignee: | ecf.core-inbox <ecf.core-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bugs.eclipse.org, slewis | ||||
| Version: | 3.5.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Does the fix for bug #331383 also address this bug? (In reply to comment #1) > Does the fix for bug #331383 also address this bug? I believe it does. Resolving. |
Created attachment 189465 [details] bugs demo ECF versions 3.4.1, 3.5 If I define service as: public interface IHelloBase { public String message(String mess); } public interface IHello extends IHelloBase { } and then its realizatiaon as: public class Hello implements IHello { @Override public String message(String mess) { String ret = "Recieved "; ret += mess; System.out.println(ret); return ret; } } ,then by using ECF I get java.lang.NoSuchMethodException: No such method: message([class java.lang.String]). The same exception arises in the following case: public interface IBar { public String helloBar(String mess); } public interface IFoo { public String helloFoo(String mess); } public class FooBar implements IFoo, IBar { @Override public String helloBar(String mess) { String ret = "helloBar recieved: "; ret += mess; return ret; } @Override public String helloFoo(String mess) { String ret = "helloFoo recieved: "; ret += mess; return ret; } } When launching on one JVM both cases work as it is expected. There are demo projects in the attachment.