[jdk11u-dev] RFR: 8286562: GCC 12 reports some compiler warnings

Andrew John Hughes andrew at openjdk.org
Fri Dec 5 19:26:16 UTC 2025


On Wed, 10 Sep 2025 14:42:45 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:

> Backport fixes few warnings in newer gcc (12+), which I have seen some when doing test build for gcc15 (fedora 42) for another [backport](https://github.com/openjdk/jdk11u-dev/pull/3087#issuecomment-3266882552). Warning do not show in current GHA runs because it uses gcc 10. (Btw this change has also been backported to oracle jdk 11.)
> 
> Backport is not clear, there were some differences in surrounding context, copyright headers, location of gmk file etc. So part of it had to be done manually.  Changes to jfrTraceIdBits.inline.hpp are not present, because modified function is not present on jdk11.
> 
> I also included backport of followup change ([JDK-8293691](https://bugs.openjdk.org/browse/JDK-8293691)), which fixes problem introduced by original backported change.
> 
> GHA tests: OK

Are you still planning to backport this one?

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3091#issuecomment-3618256793


More information about the jdk-updates-dev mailing list