12e8fccd6c
Check for polysig method assumes arity is greater than zero Reviewed-by: vromero
13 lines
213 B
Java
13 lines
213 B
Java
/*
|
|
* @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();
|
|
}
|