On Wed, 23 Nov 2022 04:47:11 GMT, David Holmes <dhol...@openjdk.org> wrote:

> I'm not sure why conditional includes (that don't rely on macros.hpp) need to 
> come at the end rather than in normal sort order? I don't care either way but 
> a rationale for this would be good if it is to be the preferred style.

Because the Style Guide says:
* Put conditional inclusions (`#if ...`) at the end of the include list.

I think most of our conditional includes these days are to support conditional 
features.  It makes sense to group all the additional includes related to a 
feature.

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

PR: https://git.openjdk.org/jdk/pull/11108

Reply via email to