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

Frederic Thevenet fthevenet at openjdk.org
Tue Jun 13 08:18:24 UTC 2023


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 11u 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.

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

Commit messages:
 - Added jfr test suite to GHA workflow
 - Backport a1ab377d995dce4d636b908e96bd168dc3a9f3e5

Changes: https://git.openjdk.org/jdk11u-dev/pull/1942/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1942&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309550
  Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1942.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1942/head:pull/1942

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


More information about the jdk-updates-dev mailing list