groovy
  1. groovy
  2. GROOVY-5176

incorrect handling of generics placeholders in JavaStubGenerator

    Details

    • Type: Bug Bug
    • Status: Closed 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
    • Number of attachments :
      0

      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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: