[ https://issues.apache.org/jira/browse/GROOVY-11170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-11170. ------------------------------ > Fix edge cases for SecureASTCustomizer > -------------------------------------- > > Key: GROOVY-11170 > URL: https://issues.apache.org/jira/browse/GROOVY-11170 > Project: Groovy > Issue Type: Bug > Reporter: Paul King > Assignee: Paul King > Priority: Major > Fix For: 5.0.0-alpha-2, 4.0.15, 3.0.20, 2.5.24 > > > There are a number of edge cases which don't work as expected. As one example, > if we set {{allowedReceiversClasses}} to {{String}} and have method calls > allowed, then the script "1.plus(1)" is rejected as expected, but the > following is not rejected: > {code} > static main(args) { > 1.plus(1) > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)