Notes on implementing concise calls to constructors with type parameters

Ulf Zibis Ulf.Zibis at gmx.de
Thu May 14 16:07:32 PDT 2009


Am 15.05.2009 00:56, Neal Gafter schrieb:
> On Thu, May 14, 2009 at 2:31 PM, Ulf Zibis <Ulf.Zibis at gmx.de 
> <mailto:Ulf.Zibis at gmx.de>> wrote:
>
>     So no functionality would break, if this accordingly would be
>     upgraded in the Java Language Specification?
>
>
> I have no way to tell without knowing what specification change you 
> have in mind.
>

I mean, to determine
    Cell<String> cs = new Cell(1); //unchecked warning
as error from compiler side.

My guess is, that this problem could be managed by javac option "-source 1.7", to remain compatible, but I'm not sure if there are some reasons against this.

-Ulf







More information about the coin-dev mailing list