Blame SOURCES/junit-ignore-bridge-methods.patch

0b540f
From 80542f2c5d3d52812405829d8e1c5b0a0acc3e7e Mon Sep 17 00:00:00 2001
0b540f
From: Michael Simacek <msimacek@redhat.com>
0b540f
Date: Tue, 1 Dec 2015 11:21:07 +0100
0b540f
Subject: [PATCH] Ignore bridge methods
0b540f
0b540f
---
0b540f
 src/main/java/org/junit/runners/model/TestClass.java | 1 +
0b540f
 1 file changed, 1 insertion(+)
0b540f
0b540f
diff --git a/src/main/java/org/junit/runners/model/TestClass.java b/src/main/java/org/junit/runners/model/TestClass.java
0b540f
index 93209ea..baca84d 100644
0b540f
--- a/src/main/java/org/junit/runners/model/TestClass.java
0b540f
+++ b/src/main/java/org/junit/runners/model/TestClass.java
0b540f
@@ -43,6 +43,7 @@ public class TestClass {
0b540f
 
0b540f
         for (Class eachClass : getSuperClasses(fClass)) {
0b540f
             for (Method eachMethod : MethodSorter.getDeclaredMethods(eachClass)) {
0b540f
+                if (!eachMethod.isBridge())
0b540f
                 addToAnnotationLists(new FrameworkMethod(eachMethod),
0b540f
                         fMethodsForAnnotations);
0b540f
             }
0b540f
-- 
0b540f
2.5.0
0b540f