madbean

'Varience' is out of Generics in Tiger

26 Jun 2003

According to Neal Gafter's comment, it looks like the 'variance' proposal is not going to be in Tiger (JDK1.5).

Based on feedback within Sun, we are unlikely to do this for Tiger.

Instead, a "wildcard" syntax is the currently considered extension; which maintains a little bit of the power of variance for those places it is sorely needed (like the addAll() and removeAll() methods in the collection API).

More details int the Evaluation section of 4856545.

  • Home
  • Blog