Integrated: 8364037: Sort share includes: adlc, libadt, metaprogramming

Francesco Andreuzzi duke at openjdk.org
Wed Jul 30 13:47:05 UTC 2025


On Thu, 24 Jul 2025 13:19:36 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.

This pull request has now been integrated.

Changeset: a2e86ff3
Author:    Francesco Andreuzzi <andreuzzi.francesco at gmail.com>
Committer: Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a2e86ff3c56209a14c6e9730781eecd12c81d170
Stats:     26 lines in 6 files changed: 14 ins; 11 del; 1 mod

8364037: Sort share includes: adlc, libadt, metaprogramming

Reviewed-by: ayang, chagedorn

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

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


More information about the hotspot-dev mailing list