RFR: 8360474: Add missing include guards for some HotSpot headers

Stefan Karlsson stefank at openjdk.org
Wed Jun 25 08:06:30 UTC 2025


On Wed, 25 Jun 2025 08:03:09 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> Some HotSpot header files are missing include guards, which may cause compilation errors if these files are included multiple times. This patch adds include guards for them.
>
> src/hotspot/os/aix/decoder_aix.hpp line 51:
> 
>> 49: 
>> 50: #endif // OS_AIX_DECODER_AIX_HPP
>> 51: 
> 
> Suggestion:
> 
> #endif // OS_AIX_DECODER_AIX_HPP

It looks like there's an extra blankline here (at least in the GitHub view)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25968#discussion_r2166070641


More information about the hotspot-dev mailing list