Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Commit a230246

Browse files
authored
Merge pull request #103 from cpwright/illumon_defaultinterfacemethods
jpy_jtype.c: Use getMethods instead of getDeclaredMethods.
2 parents fff4004 + e97a269 commit a230246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/c/jpy_jtype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ int JType_ProcessClassMethods(JNIEnv* jenv, JPy_JType* type)
10751075
if (type->isInterface) {
10761076
methods = (*jenv)->CallObjectMethod(jenv, classRef, JPy_Class_GetMethods_MID);
10771077
} else {
1078-
methods = (*jenv)->CallObjectMethod(jenv, classRef, JPy_Class_GetDeclaredMethods_MID);
1078+
methods = (*jenv)->CallObjectMethod(jenv, classRef, JPy_Class_GetMethods_MID);
10791079
}
10801080
methodCount = (*jenv)->GetArrayLength(jenv, methods);
10811081

0 commit comments

Comments
 (0)