java.util.Pair
Kevin Bourrillion
kevinb at google.com
Wed Mar 31 17:20:32 UTC 2010
On Wed, Mar 31, 2010 at 10:04 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
> (And even if it were right in theory (which I don't think it is), weren't
> warnings supposed to be things that would warn you about possible *bugs*?)
>
> possible bug:
> the semantics of instanceof Foo and instanceof Foo<?> is different if
> generics will be reified.
>
With all due respect, I rest my case. :-)
(Meaning: since you chose such a hypothetical future situation as an
illustration, it suggests that indeed no actual bugs are being prevented
here in the real world.)
We have to recognize the fact that it is no small amount of the world's Java
code that would become broken if generics were ever reified. And, as well,
that -- no, I won't go on about this, because it's now a tangent of a
tangent.
--
Kevin Bourrillion @ Google
internal: http://goto/javalibraries
external: http://guava-libraries.googlecode.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20100331/f3513cff/attachment.html>
More information about the core-libs-dev
mailing list