Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8297941

Add override modifier in space.hpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • hotspot
    • gc
    • b27

      For overriding methods in child class, one use `override` modifier to get compiler checks and it can be added automatically using:

      ```
      make CONF=debug compile-commands-hotspot; clang-tidy --fix -checks=modernize-use-override -p build/linux-x64-debug <file>
      ```

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: