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

This issue is archived. You can view it, but you can't modify it. Learn more

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)

            Assignee:
            Christoph Kulla
            Reporter:
            Christoph Kulla
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: