Add tool support to check order of includes

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: infrastructure
    • None
    • b17

      JDK-8347706 is not the first issue opened to address out of order #include statements and as long as ordering requirements[1] are not checked automatically, it probably won't be the last. It should not be too hard to come up with a bash script that can be run as part of jcheck to do this checking.

      [1] https://github.com/openjdk/jdk/blob/df9210e6578acd53384ee1ac06601510c9a52696/doc/hotspot-style.md?plain=1#L141-L148

            Assignee:
            Douglas Simon
            Reporter:
            Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: