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

MalformedParameterizedTypeException when using genericed interfaces from a library

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.4.0-rc-1
    • Component/s: Compiler
    • Labels:

      Description

      When compiling classes that implement interfaces with generics from a library (something not in the list of classes to compile, but still on the classpath), I get a java.lang.reflect.MalformedParameterizedTypeException.

      I have attached a gradle project that demonstrates the issue with a 'gradle clean compileGroovy'

      This issue seems to be only with groovyc, not with the eclipse batch compiler.

        Attachments

        1. parameterized-type-bug.tar.gz
          56 kB
          Jon Barksdale

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jon.barksdale Jon Barksdale
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: