request for review: 8033294: javac, spurious warning for instanceof operator

Jan Lahoda jan.lahoda at oracle.com
Thu Feb 6 09:34:07 PST 2014


Seems OK for 7 to me (I am not a capital-R reviewer, though).

An alternative might be to skip all unchecked warnings while checking 
castability for the purposes of instanceof.

Jan

On 02/04/2014 03:19 PM, Vicente-Arturo Romero-Zaldivar wrote:
> Hello,
>
> Please review this patch, to eliminate a spurious warning generated by
> the compiler for the instanceof operator.
>
> The webrev is here:
> http://cr.openjdk.java.net/~vromero/8033294/webrev.01/
>
> The bug report is here:
> https://bugs.openjdk.java.net/browse/JDK-8033294
>
> Thanks,
> Vicente


More information about the jdk7u-dev mailing list