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
mcimadamore@674 | 1 | InvokeDynTrans.java:55:39: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 2 | InvokeDynTrans.java:56:91: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 3 | InvokeDynTrans.java:57:34: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 4 | - compiler.err.warnings.and.werror |
mcimadamore@674 | 5 | 1 error |
mcimadamore@674 | 6 | 3 warnings |