RFR: 8253548: jvmFlagAccess.cpp: clang 9.0.0 format specifier error

Ioi Lam iklam at openjdk.java.net
Fri Sep 25 22:22:07 UTC 2020


Please review this trivial fix for older clang compiler printf format warning. As mentioned on
[JDK-8253548](https://bugs.openjdk.java.net/browse/JDK-8253548), these's an existing typecast in [logFileOutput.cpp](
https://github.com/openjdk/jdk/blame/efd10546865998028aa6d34cf939ca0de67a90fc/hotspot/src/share/vm/logging/logFileOutput.cpp#L194)
for the same reason that SIZE_MAX is not actually of the size_t type for older clang compilers.

Testing with mach5 tier1.

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

Commit messages:
 - 8253548: jvmFlagAccess.cpp: clang 9.0.0 format specifier error

Changes: https://git.openjdk.java.net/jdk/pull/365/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=365&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253548
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/365.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/365/head:pull/365

PR: https://git.openjdk.java.net/jdk/pull/365


More information about the hotspot-runtime-dev mailing list