8168774: Polymorhic signature method check crashes javac
Summary: Check for polysig method assumes arity is greater than zero
Reviewed-by: vromero
/*
* @test /nodynamiccopyright/
* @bug 5019614
* @summary variance prototype syntax leftover
*
* @compile/fail/ref=ExtraneousEquals.out -XDrawDiagnostics ExtraneousEquals.java
*/
public class ExtraneousEquals {
int[] foo = new int[=] { 1, 2, 3 };
}