Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-609

Parameterised return types not handled correctly in interface extensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Version 5.1.0
    • Binding
    • None

    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}}

      Attachments

        1. xmlbeans-ie-generic.tar
          30 kB
          Peter Keller
        2. 609.patch
          1 kB
          Peter Keller

        Activity

          People

            Unassigned Unassigned
            pakeller Peter Keller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m