You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Geoff Macartney <ge...@cloudsoft.io> on 2017/09/06 08:55:10 UTC

generic type inference in Java 8

Just read this morning an interesting mail [1] on the jclouds mailing list
which links to a discussion of a feature of Java 8 that I hadn't really
picked up on. It concerns some changes that 8 introduced in how generic
type inference works.

See
https://stackoverflow.com/questions/30521974/why-does-the-java-8-generic-type-inference-pick-this-overload

and also JEP 101 (http://openjdk.java.net/jeps/101)

Thought it was interesting enough to forward!

Geoff

[1]
http://mail-archives.apache.org/mod_mbox/jclouds-dev/201709.mbox/%3C20170905215632.GA11324%40sherlock%3E