src/share/classes/com/sun/tools/javac/comp/Check.java

Print this page

        

*** 1811,1821 **** */ public boolean checkCompatibleAbstracts(DiagnosticPosition pos, Type t1, Type t2) { return checkCompatibleAbstracts(pos, t1, t2, ! types.makeCompoundType(t1, t2)); } public boolean checkCompatibleAbstracts(DiagnosticPosition pos, Type t1, Type t2, --- 1811,1821 ---- */ public boolean checkCompatibleAbstracts(DiagnosticPosition pos, Type t1, Type t2) { return checkCompatibleAbstracts(pos, t1, t2, ! types.makeIntersectionType(t1, t2)); } public boolean checkCompatibleAbstracts(DiagnosticPosition pos, Type t1, Type t2,