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

Improve Error Message when using the unsupported Multi-Dim Arrays

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-1
    • 1.0-JSR-5
    • None

    Description

      Multi-Dim Arrays are currently not supported.

      When a Java method returns such an array and this return value is used in Groovy code,
      there should be an appropriate error message.

      See test/groovy/SomeClass.java and test/groovy/MultiDimArraysTest for examples.
      The current Error Message is

      Caught: java.lang.ClassFormatError: gjdk/[Ljava/lang/String;_GroovyReflectorArray (Illegal Class name "gjdk/[Ljava/lang/String;_GroovyReflectorArray")

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            codevise Dierk König
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: