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

Ioi Lam iklam at openjdk.java.net
Tue Sep 29 15:21:06 UTC 2020


On Fri, 25 Sep 2020 18:19:26 GMT, Ioi Lam <iklam at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: b1ce6bdb
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b1ce6bdb
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8253548: jvmFlagAccess.cpp: clang 9.0.0 format specifier error

Reviewed-by: lfoltan

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

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


More information about the hotspot-runtime-dev mailing list