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

Java 21 tests of schedule build plugin fail with Date related errors

XMLWordPrintable

    • 502.v9379e178e65b_

      The schedule build plugin uses the Java Date class and its related formatters like DateFormat. Java 21 has changed the DateFormat class to no longer parse strings that include a time without a date. Thus, "10:00 PM" fails to parse in Java 21 DateFormat but parses in Java 11 and Java 17 DateFormat.

            markewaite Mark Waite
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: