From bd8b575fb090ff8b182000f5f6bb256c85bd7458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20K=C3=B6ller?= Date: Wed, 13 Oct 2021 10:41:56 +0200 Subject: [PATCH] JENKINS-66888: whitelist java.time.temporal.ChronoUnit * --- .../sandbox/whitelists/generic-whitelist | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) 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 e2417888f..a05bb697f 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 @@ -478,6 +478,29 @@ 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 +staticField java.time.temporal.ChronoUnit CENTURIES +staticField java.time.temporal.ChronoUnit DAYS +staticField java.time.temporal.ChronoUnit DECADES +staticField java.time.temporal.ChronoUnit ERAS +staticField java.time.temporal.ChronoUnit FOREVER +staticField java.time.temporal.ChronoUnit HALF_DAYS +staticField java.time.temporal.ChronoUnit HOURS +staticField java.time.temporal.ChronoUnit MICROS +staticField java.time.temporal.ChronoUnit MILLENNIA +staticField java.time.temporal.ChronoUnit MILLIS +staticField java.time.temporal.ChronoUnit MINUTES +staticField java.time.temporal.ChronoUnit MONTHS +staticField java.time.temporal.ChronoUnit NANOS +staticField java.time.temporal.ChronoUnit SECONDS +staticField java.time.temporal.ChronoUnit WEEKS +staticField java.time.temporal.ChronoUnit YEARS +method java.time.temporal.TemporalUnit addTo java.time.temporal.Temporal long +method java.time.temporal.TemporalUnit between java.time.temporal.Temporal java.time.temporal.Temporal +method java.time.temporal.TemporalUnit getDuration +method java.time.temporal.TemporalUnit isDateBased +method java.time.temporal.TemporalUnit isDurationEstimated +method java.time.temporal.TemporalUnit isSupportedBy java.time.temporal.Temporal +method java.time.temporal.TemporalUnit isTimeBased new java.util.ArrayList java.util.Collection staticMethod java.util.Arrays asList java.lang.Object[] staticMethod java.util.Arrays toString java.lang.Object[]