RFR: 8373668: Add override keyword to *Klass classes [v2]

Axel Boldt-Christmas aboldtch at openjdk.org
Mon Dec 15 13:22:55 UTC 2025


> Using override provides better visibility and compiler support for suspicious virtual methods. It makes it clears when reading a class header file if a new virtual interface is introduced or if it simply overridden.
> 
> Testing
>  * GHA
>  * Running tier1 on Oracle supported platforms

Axel Boldt-Christmas has updated the pull request incrementally with one additional commit since the last revision:

  Whitespace changes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28820/files
  - new: https://git.openjdk.org/jdk/pull/28820/files/00859dbd..3b4009c8

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

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

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


More information about the hotspot-dev mailing list