[
https://issues.apache.org/jira/browse/XMLBEANS-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
PJ Fanning updated XMLBEANS-609:
--------------------------------
Fix Version/s: Version 5.1.0
> 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
>
>
> 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]