Skip to content

Commit 154f48b

Browse files
committed
Fixes #237. Java8 introspection changes for generics.
1 parent 06646f3 commit 154f48b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ public void parse() {
123123
Method[] methods = type.getMethods();
124124
for (Method method : methods) {
125125
try {
126-
parseStatement(method);
126+
if (!method.isBridge()) { // issue #237
127+
parseStatement(method);
128+
}
127129
} catch (IncompleteElementException e) {
128130
configuration.addIncompleteMethod(new MethodResolver(this, method));
129131
}

0 commit comments

Comments
 (0)