test/tools/javac/meth/InvokeDynTrans.out

Fri, 12 Nov 2010 12:33:52 +0000

author
mcimadamore
date
Fri, 12 Nov 2010 12:33:52 +0000
changeset 742
fdc67f5170e9
parent 674
584365f256a7
child 752
03177f49411d
permissions
-rw-r--r--

6999067: cast for invokeExact call gets redundant cast to <type> warnings
Summary: Xlint:cast should not report cast used in order to specify target type in polymorphic signature calls
Reviewed-by: jjg

     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

mercurial