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

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


On Wed, 25 Jun 2025 06:44:31 GMT, Qizheng Xing <qxing 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

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

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


More information about the hotspot-dev mailing list