On Wed, Mar 31, 2010 at 10:04 AM, Rémi Forax <fo...@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