Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-alpha
-
Fix Version/s: 2.0
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
See these example classes:
public class Dto { } public interface Validator<T extends Object> { boolean validate(T obj); } public interface Getter<T extends Object> { T get(); } public interface Setter<T extends Object> extends Validator<T> { void set(T obj); } public interface HelloService extends Getter<Dto>, Setter<Dto> { }
When when retrieving methods for HelloService using getMethods(true), methods get(), set() and validate() are returned. When fetching the parameter types for those methods (getParameterTypes(true)) these parameter lists are returned:
get: [ ] set: [Dto] validate: [T]
Expected:
get: [ ] set: [Dto] validate: [Dto]
Activity
Robert Scholte
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 2.0 [ 15636 ] |
Robert Scholte
made changes -
Resolution | Fixed [ 1 ] | |
Assignee | Robert Scholte [ rfscholte ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Nice test. And it seems to be a bug indeed.