src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
changeset 50061 20520a835f48
parent 49887 39446351e625
child 50086 66b0f0134aad
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java	Tue May 08 23:02:13 2018 +0200
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java	Tue May 08 17:12:54 2018 -0700
@@ -2705,6 +2705,9 @@
                 Type target = null;
                 for (Type bound : ict.getExplicitComponents()) {
                     TypeSymbol boundSym = bound.tsym;
+                    if (bound.tsym == syms.objectType.tsym) {
+                        continue;
+                    }
                     if (types.isFunctionalInterface(boundSym) &&
                             types.findDescriptorSymbol(boundSym) == desc) {
                         target = bound;