NPE inisSignaturePolymorphic(jdk.compiler at 9-internal/Types.java:1079)

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Oct 26 14:39:01 UTC 2016


Thanks for the confirmation. A fix is in the works.

Maurizio


On 26/10/16 15:28, Ronald Servant wrote:
> >My reading of this situation: the spec mandates that a poly sig method
> >must have a varargs argument Object... - that will stay the same.
> >
> >On the other hand, javac will crash whenever it finds a native method in
> >MethodHandle.java that has no arguments. That must be fixed. But, after
> >the fix, the 0-ary method will NOT be considered as a poly signature
> >method by javac.
>
> >Maurizio
> Agreed. There was a bug in javac when trying to decide if the method 
> had a polymorphic signature. I'm not asking that we change the spec. :)
> Ron
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20161026/472e93a1/attachment.html>


More information about the compiler-dev mailing list