[jdk11u-dev] Integrated: 8247706: Unintentional use of new Date(year...) with absolute year

Amos Shi ashi at openjdk.org
Mon Nov 11 05:59:38 UTC 2024


On Tue, 27 Aug 2024 01:24:35 GMT, Amos Shi <ashi at openjdk.org> wrote:

> Backport of [JDK-8247706](https://bugs.openjdk.org/browse/JDK-8247706)
> 
> Testing
> - Local: Test passed on `MacOS 14.6.1` on Apple M1 Max
>   - Passed: `java/text/Format/DateFormat/DateFormatRegression.java`
>   - Passed: `java/time/tck/java/time/format/TCKLocalizedPrinterParser.java`
>   - Passed: `java/util/Calendar/FieldStateTest.java`
> - Pipeline: All passed except `macOS`
>   - `macOS`: `/Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here` The issue exists in all recent PR in [jdk11u-dev](https://github.com/openjdk/jdk11u-dev/pulls) and not caused by Current PR
> - Testing Machine: SAP nightlies passed on `2024-09-03`
>   - Automated jtreg test: `jtreg_jdk_tier1` Started at `2024-09-03 09:22:44+01:00`
>   - java/util/Calendar/FieldStateTest.java: SUCCESSFUL GitHub 📊 - [09:37:01.601 -> 954 msec]

This pull request has now been integrated.

Changeset: 04e6f37d
Author:    Amos Shi <ashi at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/04e6f37d2c3b0983db92184f49391b4453b459df
Stats:     7 lines in 3 files changed: 0 ins; 0 del; 7 mod

8247706: Unintentional use of new Date(year...) with absolute year

Backport-of: 175b597ad2fbbcceac2946ca26b27d069a6003fd

-------------

PR: https://git.openjdk.org/jdk11u-dev/pull/2924


More information about the jdk-updates-dev mailing list