RFR: 8347576: Error output in libjsound has non matching format strings [v3]

Matthias Baesken mbaesken at openjdk.org
Wed Jan 15 11:37:36 UTC 2025


On Wed, 15 Jan 2025 10:51:47 GMT, Christoph Langer <clanger at openjdk.org> wrote:

> What about Martin's comment regarding the %p for hex byte values? Shouldn't some form of %x be better?

Do you maybe prefer casting to  uintptr_t  and use  `"%" PRIxPTR ` for printing this stuff ?  Seems this is done at some other places in the codebase. globalDefinitions.hpp contains also a few related macro definitions but that's Hotspot, I think we miss that for other libs.

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

PR Comment: https://git.openjdk.org/jdk/pull/23076#issuecomment-2592459896


More information about the client-libs-dev mailing list