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

Wrong return type in function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-3
    • class generator
    • None

    Description

      This class fails to load.

      class GroovyProxy_5 implements test.baulsupp.groovy.SimpleInterface2 {
      java.lang.String getInt(){
      return (java.lang.String) XXX;
      }
      }

      The error is this.

      java.lang.VerifyError: (class: GroovyProxy_5, method: getInt signature: ()Ljava/lang/String Wrong return type in function
      at java.lang.Class.getDeclaredConstructors0(Native Method)

      N.B. XXX should be coming from GroovyObject.setProperty().

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuri Yuri Schimke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: