Groovy
  1. Groovy
  2. GROOVY-5176

incorrect handling of generics placeholders in JavaStubGenerator

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.5, 2.0-beta-2
    • Component/s: None
    • Labels:
      None

      Description

      The JavaStubGenerator incorrectly handles generics signatures of the form:

      java.util.List<? extends T>
      

      instead producing

      java.util.List<? extends java.lang.Object<T>>
      

      which doesn't compile as java.lang.Object does not take parameters.

        Activity

        paulk@asert.com.au created issue -
        Hide
        Paul King added a comment -

        This has been fixed - not with an ideal solution but hopefully good enough until some other underlying refactoring is done.

        Show
        Paul King added a comment - This has been fixed - not with an ideal solution but hopefully good enough until some other underlying refactoring is done.
        Paul King made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12734100 ] Default workflow, editable Closed status [ 12745914 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971632 ] Default workflow, editable Closed status [ 12979467 ]
        Mark Thomas made changes -
        Reporter Paul King [ paulk@asert.com.au ] Paul King [ paulk ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        8h 34m 1 Paul King 08/Dec/11 15:40
        Resolved Resolved Closed Closed
        15d 11h 28m 1 Paul King 24/Dec/11 03:08

          People

          • Assignee:
            Paul King
            Reporter:
            Paul King
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development