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

JSRVariableScopeCodeVisitor doesn't like String[]

    XMLWordPrintableJSON

Details

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

    Description

      getTypeName() in JSRVariableScopeCodeVisitor doesn't handle String[], which means you can't override a method where the base class method expects a String array. The fix is easy - just add another "else if" around line 415 something like:

      else if (name.equals("java.lang.String")) {
      return prefix + "L";
      }

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            rodcope Rod Cope
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified