8168774: Polymorhic signature method check crashes javac
Summary: Check for polysig method assumes arity is greater than zero
Reviewed-by: vromero
/*
* @test /nodynamiccopyright/
* @bug 4668238 4721069
* @summary compiler must reject interface "overriding" final Object meth.
* @compile/fail/ref=InterfaceOverrideFinal.out -XDrawDiagnostics InterfaceOverrideFinal.java
*/
public interface InterfaceOverrideFinal {
void notify();
}