[ 
https://issues.apache.org/jira/browse/XMLBEANS-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545023#comment-17545023
 ] 

PJ Fanning commented on XMLBEANS-609:
-------------------------------------

added with 
https://github.com/apache/xmlbeans/commit/d531c7f28912e120e17750b1af372c0fd8181c31

> Parameterised return types not handled correctly in interface extensions
> ------------------------------------------------------------------------
>
>                 Key: XMLBEANS-609
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-609
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: Binding
>            Reporter: Peter Keller
>            Priority: Major
>             Fix For: Version 5.1.0
>
>         Attachments: 609.patch, xmlbeans-ie-generic.tar
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The attached test case fails because of the parameterised return type of the 
> interface extension method:
> {{/home/pkeller/Projects/Workflow/xmlbeans-upgrade/xmlbeans-ie-generic/build/java/com/example/easypo/impl/ProductTypeImpl.java:29:
>  error: cannot find symbol
>     public T getFoo(java.lang.Class<T> type) {
>                                     ^
>   symbol:   class T
>   location: class ProductTypeImpl
> /home/pkeller/Projects/Workflow/xmlbeans-upgrade/xmlbeans-ie-generic/build/java/com/example/easypo/impl/ProductTypeImpl.java:29:
>  error: cannot find symbol
>     public T getFoo(java.lang.Class<T> type) {
>            ^
>   symbol:   class T
>   location: class ProductTypeImpl
> 2 errors}}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to