[jdk17u-dev] Integrated: 8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE

Frederic Thevenet fthevenet at openjdk.org
Mon Jun 19 13:16:25 UTC 2023


On Tue, 13 Jun 2023 08:06:51 GMT, Frederic Thevenet <fthevenet at openjdk.org> wrote:

> Hi,
> 
> This is a backport of JDK-8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE
> 
> Original patch does not apply cleanly to 17u as one of the modified file `src/jdk.jfr/share/classes/jdk/jfr/internal/util/ValueFormatter.java` does not exit prior to 21. Changes to other files apply cleanly.
> 
> GHA tests are enabled and amended to include `test/jdk/jdk/jfr` in, addition to what's in the default configuration.
> 
> Thanks.

This pull request has now been integrated.

Changeset: 7697ab46
Author:    Frederic Thevenet <fthevenet at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/7697ab467ef11017ba31ecf1c26ecb4e78174036
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE

Reviewed-by: stuefe, sgehwolf
Backport-of: a1ab377d995dce4d636b908e96bd168dc3a9f3e5

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

PR: https://git.openjdk.org/jdk17u-dev/pull/1423


More information about the jdk-updates-dev mailing list