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

Commit de63f9b

Browse files
committed
removed TODO regarding #105
1 parent 3b7003b commit de63f9b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/main/c/jpy_jtype.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,13 +1072,7 @@ int JType_ProcessClassMethods(JNIEnv* jenv, JPy_JType* type)
10721072

10731073
classRef = type->classRef;
10741074

1075-
if (type->isInterface) {
1076-
methods = (*jenv)->CallObjectMethod(jenv, classRef, JPy_Class_GetMethods_MID);
1077-
} else {
1078-
// TODO: write unit test case that justifies and verifies use of Class.getMethods(). See #102 by cpwright.
1079-
// methods = (*jenv)->CallObjectMethod(jenv, classRef, JPy_Class_GetDeclaredMethods_MID);
1080-
methods = (*jenv)->CallObjectMethod(jenv, classRef, JPy_Class_GetMethods_MID);
1081-
}
1075+
methods = (*jenv)->CallObjectMethod(jenv, classRef, JPy_Class_GetMethods_MID);
10821076
methodCount = (*jenv)->GetArrayLength(jenv, methods);
10831077

10841078
JPy_DIAG_PRINT(JPy_DIAG_F_TYPE, "JType_ProcessClassMethods: methodCount=%d\n", methodCount);

0 commit comments

Comments
 (0)