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 | InvokeMHTrans.java:59:39: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 2 | InvokeMHTrans.java:62:38: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 3 | InvokeMHTrans.java:65:35: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 4 | InvokeMHTrans.java:66:35: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 5 | InvokeMHTrans.java:68:31: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 6 | InvokeMHTrans.java:72:32: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 7 | InvokeMHTrans.java:83:35: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 8 | InvokeMHTrans.java:87:41: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 9 | InvokeMHTrans.java:93:37: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 10 | InvokeMHTrans.java:96:34: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 11 | - compiler.err.warnings.and.werror |
mcimadamore@674 | 12 | 1 error |
mcimadamore@674 | 13 | 10 warnings |