Service proxies won't work with covariant return types

Description

If using covariant return types, service proxies currenly won't work.

Example:

1 2 3 4 5 6 7 public interface ServiceIface { Number method(); } public class ServiceIfaceImpl implements ServiceIface { Integer method(); }

In this example, the service proxy created by Gaderian will throw an AbstractMethodError, because ServiceIfaceImpl doesn't implement a method method() with return type Number.

Environment

None

Status

Assignee

Raffael Herzog

Reporter

Raffael Herzog

Labels

None

Components

Fix versions

Affects versions

1.0

Priority

Major
Configure