langtools/test/tools/javac/meth/BadPolySig.java
author mcimadamore
Wed, 26 Oct 2016 15:41:25 +0100
changeset 41856 13a056e8f16e
permissions -rw-r--r--
8168774: Polymorhic signature method check crashes javac Summary: Check for polysig method assumes arity is greater than zero Reviewed-by: vromero

/*
 * @test
 * @bug 8168774
 * @summary Polymorhic signature method check crashes javac
 * @compile -Xmodule:java.base BadPolySig.java
 */

package java.lang.invoke;

class MethodHandle {
    native Object m();
}