Peter Keller created XMLBEANS-609:
-------------------------------------

             Summary: 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
         Attachments: 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]

Reply via email to