diff -r 88ce114c6adc -r 8dcde670aed3 src/share/classes/com/sun/tools/javac/comp/Infer.java --- a/src/share/classes/com/sun/tools/javac/comp/Infer.java Fri Oct 31 20:19:04 2014 -0700 +++ b/src/share/classes/com/sun/tools/javac/comp/Infer.java Mon Nov 03 16:03:37 2014 -0800 @@ -784,7 +784,10 @@ while (tmpTail.nonEmpty()) { Type b1 = boundList.head; Type b2 = tmpTail.head; - if (b1 != b2) { + /* This wildcard check is temporary workaround. This code may need to be + * revisited once spec bug JDK-7034922 is fixed. + */ + if (b1 != b2 && !b1.hasTag(WILDCARD) && !b2.hasTag(WILDCARD)) { Pair commonSupers = infer.getParameterizedSupers(b1, b2); if (commonSupers != null) { List allParamsSuperBound1 = commonSupers.fst.allparams();