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

implementation of interface named exactly as the groovy class, but in another package yields stack overflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.0-JSR-6
    • class generator
    • None
    • Any OS, Any supported JDK

    Description

      If the groovy script implements an interface that has the same name as the groovy class but both reside in different packages a stack overflow occurs while loading via GroovyClassLoader, see attached test case.

      Attachments

        1. testCase.jar
          1.0 kB
          Zoran Regvart

        Activity

          People

            blackdrag Jochen Theodorou
            zregvart@gmail.com Zoran Regvart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: