Currently I need to specify each method that I want to get white-listed. This is extremely cumbersome. It would be helpful if I can use some kind of wildcards to specify the whitelist of a plug-in.

      This basically is related to JENKINS-25804. Why do I need to add every method on String to be whitelisted? It would be much simpler to say method * of String so that all methods on this immutable class get white listed (or even better: everything of String or Matcher, etc. is whitelisted). It shouldn't be hard to gather the matching methods using reflection.

          [JENKINS-35065] Let whitelists be defined with wildcards

          Jesse Glick added a comment -

          Probably everything in String is OK, but the same is not true of, say, Integer.

          Currently * is accepted in place of a single type name in the arguments list of a method or constructor. There is not currently any syntax for matching a variable number of arguments, or matching any method on a type.

          Jesse Glick added a comment - Probably everything in String is OK, but the same is not true of, say, Integer . Currently * is accepted in place of a single type name in the arguments list of a method or constructor. There is not currently any syntax for matching a variable number of arguments, or matching any method on a type.

            jglick Jesse Glick
            drulli Ulli Hafner
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: