Use Advanced Search to search the entire archive.
Re: Concrete Generics
- From: Werner Keil <
>
- To:
- Subject: Re: Concrete Generics
- Date: Sat, 18 Oct 2014 20:22:27 +0200
The problem is rather adding it to the Set in the wildcard form it's no
longer accepted from 8u20.
Otavio mentioned, the "guts" of JDK like Collections, etc. are slowly
adjusted to something more typesafe in future. We have both implementations
and they should run on a CI server, too allowing to see, if a future JDK
broke anything. As of now, 1.0 won't target any non final JDK, so we just
need to worry about SE 7/ME 8 for RI and SE 8 for the SE port.
Werner
Am 18.10.2014 18:08 schrieb "Martin Desruisseaux" <
>:
>
Le 18/10/14 19:50, Werner Keil a écrit :
>
>
>
> It was however absolutely necessary to fix SystemOfMeasurement
>
> implementations using precisely the signature mentioned (or proposed
>
> earlier by Otavio in a different place;-)
>
>
>
It is possible by casting temporarily to the raw type in the method body
>
(I did that for the same situation with Comparable<?> objects). Not
>
something we are suppose to do, but at least it does not appears in the
>
public API.
>
>
Martin
>
>