Integrated: 8356941: AbstractMethodError in HotSpot Due to Incorrect Handling of Private Method

David Holmes dholmes at openjdk.org
Tue Jul 22 00:41:32 UTC 2025


On Mon, 14 Jul 2025 22:28:50 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Private methods should never be considered as the implementation of a default method.
> 
> The first commit adds some additional logging I used to track down what was happening. I like it, but if reviewers think it too much I can drop it.
> 
> The second commit is the actual fix to exclude private methods, and adds the missing test case to the existing defmeth tests.
> 
> Testing:
>  - tiers 1-4
> 
> Thanks

This pull request has now been integrated.

Changeset: 0385975f
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0385975f44fbe9d199677754ff5006bc5784b9c5
Stats:     14 lines in 2 files changed: 8 ins; 4 del; 2 mod

8356941: AbstractMethodError in HotSpot Due to Incorrect Handling of Private Method

Reviewed-by: coleenp, heidinga

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

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


More information about the hotspot-runtime-dev mailing list