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

Julian Waters jwaters at openjdk.org
Mon Dec 15 14:40:46 UTC 2025


On Mon, 15 Dec 2025 13:22:55 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

>> 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

+1 for use of helpful C++ features!

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

Marked as reviewed by jwaters (Committer).

PR Review: https://git.openjdk.org/jdk/pull/28820#pullrequestreview-3578544271


More information about the hotspot-dev mailing list