[jdk17u-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:13:46 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 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.

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

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

Changes: https://git.openjdk.org/jdk17u-dev/pull/1423/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1423&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/jdk17u-dev/pull/1423.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1423/head:pull/1423

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


More information about the jdk-updates-dev mailing list