-
Improvement
-
Resolution: Fixed
-
Minor
-
None
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.