NullPointerException in Infer.java
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Wed Nov 5 17:25:12 UTC 2014
This is a new issue - thanks. A new bug has been filed:
https://bugs.openjdk.java.net/browse/JDK-8062977
Maurizio
On 05/11/14 16:16, Liam Miller-Cushon wrote:
> mport java.util.List;
>
> class Test {
> interface TypeToken<B> {}
> interface TypeMap<B> {
> <T extends B> T getInstance(TypeToken<T> type);
> }
>
> void m(TypeMap<Iterable<?>[]> map, TypeToken<List<Integer>[]> type) {
> List<Integer>[] result = map.getInstance(type);
> }
> }
More information about the compiler-dev
mailing list