Tue, 07 Sep 2010 17:32:27 +0100
6979327: method handle invocation should use casts instead of type parameters to specify return type
Summary: infer return type for polymorphic signature calls according to updated JSR 292 draft
Reviewed-by: jjg
Contributed-by: john.r.rose@oracle.com
1 InvokeDynTrans.java:55:39: compiler.warn.type.parameter.on.polymorphic.signature
2 InvokeDynTrans.java:56:91: compiler.warn.type.parameter.on.polymorphic.signature
3 InvokeDynTrans.java:57:34: compiler.warn.type.parameter.on.polymorphic.signature
4 - compiler.err.warnings.and.werror
5 1 error
6 3 warnings