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

<groovyc> does not provide an option to customize the target bytecode version used by ACG

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.4
    • Fix Version/s: 1.6.8, 1.7.4, 1.8-beta-1
    • Component/s: None
    • Labels:
      None

      Description

      Although the CompilerConfiguration has a flag called targetBytecode that is used to override the default targetBytecode version determined by groovy compiler, <groovyc> does not provide any option to specify it.

      So, if you are using <groovyc> to compile the scripts, the default targetBytecode cannot be overridden. It needs to expose an attribute and connect it to CompilerConfiguration's targetBytecode flag.

        Attachments

          Activity

            People

            • Assignee:
              roshandawrani Roshan Dawrani
              Reporter:
              roshandawrani Roshan Dawrani
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: