You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Peter Keller (Jira)" <ji...@apache.org> on 2022/06/01 15:37:00 UTC
[jira] [Updated] (XMLBEANS-609) Parameterised return types not handled correctly in interface extensions
[ https://issues.apache.org/jira/browse/XMLBEANS-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Keller updated XMLBEANS-609:
----------------------------------
Description:
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}}
was:
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
}}
> 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
> 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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org