Notes on implementing concise calls to constructors with type parameters
Ulf.Zibis at gmx.de
Thu May 14 17:07:45 PDT 2009
Am 15.05.2009 01:57, Alex Buckley schrieb:
> Ulf Zibis wrote:
>>>> My guess is, that this problem could be managed by javac option
>>>> "-source 1.7", but I'm not sure if there are some reasons against
>>> You're effectively suggesting that migration compatibility be
>>> dropped in JDK7. A language change of this magnitude is far beyond
>>> the scope of Project Coin.
>> Yes, you got it. This is exactly what I wanted to say.
>> This potentially would make constructs like
>> Cell<String> cs = new Cell<>(1)
>> My additional question was, if anybody has an idea, if that would
>> break some other things, I'm not aware of.
> Obviously dropping raw types has an impact anywhere that type names
> can be used. Since that's every class, interface, and variable
> declaration, I'm not sure we need to spend much time calculating how
> it would affect people moving pre-1.5 code to 1.7 - it obviously stops
> them cold.
It should have stopped them more cold in experiencing a consequently
occurring CCE at runtime. ;-)
More information about the coin-dev