Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72975

Whitelist request for java.util.regex.MatchResult group java.lang.String (JDK21)

XMLWordPrintable

      JDK21 defines a new method MatchResult.group(String). This new method shadows method java.util.regex.Matcher group java.lang.String

      As a result calls to Matcher.group(String) lead to "Scripts not permitted" with JDK21. Previous JDKs permit the access as java.util.regex.Matcher.group(String) is called.

      Please add "method java.util.regex.MatchResult group java.lang.String" to the whitelist.

      https://docs.oracle.com/en%2Fjava%2Fjavase%2F21%2Fdocs%2Fapi%2F%2F/java.base/java/util/regex/MatchResult.html#group(java.lang.String)

            ckullabosch Christoph Kulla
            ckullabosch Christoph Kulla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: