From 41f585ff146b2ada239a6c4b851a282de7b99197 Mon Sep 17 00:00:00 2001 From: Stefan Spieker Date: Tue, 3 Sep 2024 17:11:21 +0200 Subject: [PATCH] also add DateTimeFormatter `ofPattern` with Locale --- .../plugins/scriptsecurity/sandbox/whitelists/generic-whitelist | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist b/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist index 58d0c779..8828d126 100644 --- a/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist +++ b/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist @@ -488,6 +488,7 @@ staticField java.time.format.DateTimeFormatter ISO_WEEK_DATE staticField java.time.format.DateTimeFormatter ISO_ZONED_DATE_TIME staticField java.time.format.DateTimeFormatter RFC_1123_DATE_TIME staticMethod java.time.format.DateTimeFormatter ofPattern java.lang.String +staticMethod java.time.format.DateTimeFormatter ofPattern java.lang.String java.util.Locale method java.time.format.DateTimeFormatter parse java.lang.CharSequence staticField java.time.temporal.ChronoUnit CENTURIES staticField java.time.temporal.ChronoUnit DAYS