Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2800

wrong use of generics in stub compiler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.6
    • 1.6-beta-1, 1.5.7
    • None
    • None

    Description

      with the code

      public java.util.List findAllProcessesForActivityType(java.lang.Long activityTypeId) {

      }

      the Stubgenerator generates this:

      public java.util.List<E extends java.lang.Object> findAllProcessesForActivityType(java.lang.Long activityTypeId) {
      return (java.util.List<E extends java.lang.Object>)null;
      }

      this may be the result of a bug fix in 1.5.6. This won't compile, because the syntax is wrong.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: