]> source.dussan.org Git - javassist.git/commit
Fix MemberResolver.lookupMethod bug when super class has more precise match 466/head
authorshifujun <shifujun@foxmail.com>
Fri, 8 Dec 2023 06:48:28 +0000 (14:48 +0800)
committershifujun <shifujun@foxmail.com>
Fri, 8 Dec 2023 09:18:27 +0000 (17:18 +0800)
commitc04c375e813597eaeb305a641f58a89fe665ea54
tree0ce0674728ec2a0b4a2c1d35d33dfa81a5cea3cc
parent158294371e39b24f003f15933bd74f2b26bbf3aa
Fix MemberResolver.lookupMethod bug when super class has more precise match

When onlyExact=false and super class have a more precise match,
it should not return with current class's maybe result.

New added testSuperCall reveals the problem.
src/main/javassist/compiler/MemberResolver.java
src/test/javassist/JvstTest5.java
src/test/javassist/SuperCallCase.java [new file with mode: 0644]