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

Compiler customization builder not resolve secureAst properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.6
    • Component/s: Compiler
    • Environment:
      Any environment

      Description

      When using compilerCustomizationBuilder withConfig method, if you set secureAst properties as:

      CompilerCustomizationBuilder.withConfig(config) {
            secureAst {
                 importsWhitelist = []
            }
      }
      

      Properties as importsWhitelist are totally ignored.

        Attachments

          Activity

            People

            • Assignee:
              pascalschumacher Pascal Schumacher
              Reporter:
              chiquitinxx Jorge Franco Leza
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: