Paul King created GROOVY-11170:
----------------------------------

             Summary: 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


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)

Reply via email to