This is how Groovy's own MetaClassImpl.getProperty works for Collections, so we should do the same thing.
Note that we can't actually replicate the error case in groovy-sandbox tests, just the bad interceptor trace. The actual testing of the error case is downstream in script-security.
JENKINS-50470
This is how Groovy's own MetaClassImpl.getProperty works for Collections, so we should do the same thing.
Note that we can't actually replicate the error case in groovy-sandbox tests, just the bad interceptor trace. The actual testing of the error case is downstream in script-security.
@reviewbybees