RFR: 8364037: Sort share includes: adlc, libadt, metaprogramming [v2]

duke duke at openjdk.org
Wed Jul 30 10:15:54 UTC 2025


On Wed, 30 Jul 2025 08:49:13 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 incrementally with one additional commit since the last revision:
> 
>   assert not needed. move up

@fandreuz 
Your change (at version bcddcb9e87af0d8fca7e70ee8b890b9c73c10971) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/26460#issuecomment-3135674592


More information about the hotspot-dev mailing list