RFR: 8373668: Add override keyword to *Klass classes
Axel Boldt-Christmas
aboldtch at openjdk.org
Mon Dec 15 10:14:07 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
-------------
Commit messages:
- Add override keyword to *Klass classes
Changes: https://git.openjdk.org/jdk/pull/28820/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28820&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8373668
Stats: 99 lines in 7 files changed: 0 ins; 5 del; 94 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