RFR: 8362587: Sort share/oops includes [v2]

Francesco Andreuzzi duke at openjdk.org
Fri Jul 18 11:12:40 UTC 2025


> This PR sorts the includes in `hotspot/share/oops` using `test/hotspot/jtreg/sources/SortIncludes.java`. I'm also adding the directory to `TestIncludesAreSorted.java`.
> 
> Passes tier1 and tier2 tests.

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 three additional commits since the last revision:

 - lexycographic order in TestIncludesAreSorted
 - Merge branch 'master' into JDK-8362587-sort-oops-includes
 - sort includes in oops

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26386/files
  - new: https://git.openjdk.org/jdk/pull/26386/files/5659fe92..06978ac6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26386&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26386&range=00-01

  Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/26386.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26386/head:pull/26386

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


More information about the hotspot-dev mailing list