Service proxies won't work with covariant return types

Description

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

Example:

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

Activity

Show:
JohanL
August 13, 2009, 8:41 PM

Added test case to check this, but fail to reproduce - please check TestServices to see if I have missed something.

JohanL
November 4, 2009, 7:47 AM

With upgrade the of Javassist and moving to JDK 1.5 proper, this is no longer an issue - closing

Assignee

Raffael Herzog

Reporter

Raffael Herzog

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure