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

MalformedParameterizedTypeException when using genericed interfaces from a library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.4.0-rc-1
    • Compiler

    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

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

            Dates

              Created:
              Updated:
              Resolved: