On 23 Oct 2014, at 17:44, Peter Levart <peter.lev...@gmail.com> wrote:
> 
> Is there a test that validates correctness of getMethods() or at least a set 
> of interfaces and/or classes to exercise the algorithm and compare it to a 
> different implementation?
> 

There is :)

http://hg.openjdk.java.net/jdk9/dev/jdk/file/8b4aa51c8744/test/java/lang/reflect/DefaultMethodMembers/FilterNotMostSpecific.java

IIRC 75% or so of the cases passes both before and after the change.

I have highlighted a number of interesting cases with line comments.

cheers
/Joel

Reply via email to