RFR: 8364037: Sort share includes: adlc, libadt, metaprogramming
Francesco Andreuzzi
duke at openjdk.org
Thu Jul 24 13:25:24 UTC 2025
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.
-------------
Commit messages:
- move comment
- sort
Changes: https://git.openjdk.org/jdk/pull/26460/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26460&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8364037
Stats: 30 lines in 6 files changed: 17 ins; 12 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/26460.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26460/head:pull/26460
PR: https://git.openjdk.org/jdk/pull/26460
More information about the hotspot-dev
mailing list