RFR: 8364037: Sort share includes: adlc, libadt, metaprogramming [v3]
duke
duke at openjdk.org
Wed Jul 30 13:38:11 UTC 2025
On Wed, 30 Jul 2025 10:36:15 GMT, Francesco Andreuzzi <duke at openjdk.org> wrote:
>> This PR sorts includes using test/hotspot/jtreg/sources/SortIncludes.java in:
>> - hotspot/share/adlc
>> - hotspot/share/libadt
>> - hotspot/share/metaprogramming
>>
>> I noticed some missing includes in several header files in`adlc/`, which caused compilation success to be dependent on the order of include statements in `adlc.hpp`. I moved the include statements to `adlparse.hpp` and `forms.hpp`.
>>
>> I'm also adding the directory to TestIncludesAreSorted.java.
>>
>> Passes tier1 and GHA.
>
> Francesco Andreuzzi has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
>
> - Merge branch 'master' into JDK-8364037
> - assert not needed. move up
> - move comment
> - sort
@fandreuz
Your change (at version caf2a092a25bfc79620fb688e689fbb17179297a) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26460#issuecomment-3136386728
More information about the hotspot-dev
mailing list