Integrated: 8373668: Add override keyword to *Klass classes

Axel Boldt-Christmas aboldtch at openjdk.org
Tue Dec 16 07:41:23 UTC 2025


On Mon, 15 Dec 2025 10:08:18 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

This pull request has now been integrated.

Changeset: 78c2d572
Author:    Axel Boldt-Christmas <aboldtch at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/78c2d57259ad829a2cfc1370efbb2a5913df4661
Stats:     102 lines in 7 files changed: 0 ins; 5 del; 97 mod

8373668: Add override keyword to *Klass classes

Reviewed-by: jwaters, dholmes, kbarrett, tschatzl

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

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


More information about the hotspot-dev mailing list