This repository was archived by the owner on Aug 5, 2021. It is now read-only.
Commit e97a269
committed
jpy_jtype.c: Use getMethods instead of getDeclaredMethods.
Java 8 interfaces may have default methods. When using getMethods up the
inheritance stack, jpy wil never find them. By using getDeclaredMethods
instead, jpy is able to find the default methods and properly invoke them.1 parent fff4004 commit e97a269
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | | - | |
| 1078 | + | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
| |||
0 commit comments