Optional.or() doesn't use a wildcard in its signature

Remi Forax forax at univ-mlv.fr
Sat Oct 31 18:11:51 UTC 2015

Hi all, hi Paul,

I've just seen that Optional.or is declared as
  public Optional<T> or(Supplier<Optional<T>> supplier) {
instead of
  public Optional<T> or(Supplier<? extends Optional<T>> supplier) {


More information about the core-libs-dev mailing list