Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-37129] unclassified method vs MethodMissingException
As an user, I don't always precisely remember what methods an object has, an I often end up making mistakes. From workflow-cps perspective, this results in trying to call a method that does not exist. This must result in MethodMissingException, just like normal Groovy interpretor. The code currently makes this a RejectedAccessException, making the user believe that the method exists but the access it not allowed.
- Loading branch information
Showing
2 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters