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

wrong CHECKCAST in bytecode for native arrays

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-1
    • 1.0-JSR-1
    • bytecode, class generator
    • None

    Description

      a script fails if it contains the line:

      byte[] x = new byte[3]

      the reason is a CHECKCAST command in the bytecode which tests for a java.lang.Byte and results in a ClassCastException
      But when executing the script from inside the IDE I have no problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: