RFR: 8216324: GetClassMethods is confused by the presence of default methods in super interfaces

Alex Menkov alexey.menkov at oracle.com
Mon Jul 20 23:57:36 UTC 2020


Looks good to me :)
Thanks for handling this.

--alex

On 07/20/2020 12:00, Daniil Titov wrote:
> Please review change [1] that fixes GetClassMethods behavior in cases if a default method is present in a super interface. Currently for such cases the information GetClassMethods returns for the sub-interface or implementing class incorrectly includes  inherited not default  methods.
> 
> The fix ( thanks to Alex for providing this patch) ensures that overpass methods are filtered out  in the returns. The fix also applies a change in the existing test as David suggested in the comments to the issue [2].
> 
> Testing: Mach5  tier1-tier3 tests successfully passed.
> 
> [1] http://cr.openjdk.java.net/~dtitov/8216324/webrev.01/
> [2] https://bugs.openjdk.java.net/browse/JDK-8216324
> 
> Thank you,
> Daniil
> 
> 


More information about the serviceability-dev mailing list