Re: Stream.generate

2015-07-22 Thread Remi Forax
On 07/22/2015 10:10 AM, Paul Sandoz wrote: On 20 Jul 2015, at 19:08, Remi Forax wrote: Hi all, hi Paul, I've found that the signature of Stream.generate doesn't to use a wildcard hence some program are rejected even if there are valid, by example: public static void main(String[] args) {

Re: Stream.generate

2015-07-22 Thread Paul Sandoz
On 20 Jul 2015, at 19:08, Remi Forax wrote: > Hi all, hi Paul, > I've found that the signature of Stream.generate doesn't to use a wildcard > hence some program are rejected even if there are valid, by example: > public static void main(String[] args) { > Supplier supplier = () -> "hello"

Re: Stream.generate

2015-07-21 Thread Remi Forax
On 07/21/2015 06:32 PM, Paul Sandoz wrote: Hi Remi, Can you log an issue? Thanks, Paul. Hi Paul, yes, https://bugs.openjdk.java.net/browse/JDK-8132097 regards, Rémi On 20 Jul 2015, at 19:08, Remi Forax wrote: Hi all, hi Paul, I've found that the signature of Stream.generate doesn't to

Re: Stream.generate

2015-07-21 Thread Paul Sandoz
Hi Remi, Can you log an issue? Thanks, Paul. On 20 Jul 2015, at 19:08, Remi Forax wrote: > Hi all, hi Paul, > I've found that the signature of Stream.generate doesn't to use a wildcard > hence some program are rejected even if there are valid, by example: > public static void main(String[] a