aoqi@0: /* @test /nodynamiccopyright/ aoqi@0: * @bug 7192246 aoqi@0: * @summary check that a class cannot have two sibling interfaces with a default and abstract method aoqi@0: * @compile/fail/ref=Neg14.out -XDrawDiagnostics Neg14.java aoqi@0: */ aoqi@0: class Neg14 { aoqi@0: interface IA { int m(); } aoqi@0: interface IB { default int m() { return 1; } } aoqi@0: aoqi@0: abstract class AB implements IA, IB {} aoqi@0: }