RFR: 8267464: Circular-dependency resilient inline headers [v4]

David Holmes dholmes at openjdk.java.net
Wed May 26 07:56:13 UTC 2021


On Wed, 26 May 2021 06:35:29 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> doc/hotspot-style.md line 142:
>> 
>>> 140: 
>>> 141: * All .inline.hpp files should include their corresponding .hpp file
>>> 142: as the first include line. Externally used declarations should be put
>> 
>> Do we need to spell out it should be first unless precompiled.hpp is included?
>
> We should never include precompiled.hpp from an .inline.hpp file, so I don't think we need to state that.

Ah. Right. :)

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

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


More information about the serviceability-dev mailing list