RFR: 8356941: AbstractMethodError in HotSpot Due to Incorrect Handling of Private Method [v3]

Coleen Phillimore coleenp at openjdk.org
Wed Jul 16 13:13:41 UTC 2025


On Wed, 16 Jul 2025 07:20:16 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
>
> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Revert "Additional logging to identify the problem"
>   
>   This reverts commit 60871844d32cbc58ea97b2186a2758e85613afa4.

The fix looks good.

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26302#pullrequestreview-3024410017


More information about the hotspot-runtime-dev mailing list