Looks good to me!
On Tue, Nov 8, 2016 at 4:43 PM, Paul Sandoz <paul.san...@oracle.com> wrote:
> Hi
>
> Please review this compatible fix to Stream.generate to accept a covariant
> Supplier.
>
> Paul.
>
> diff -r 3e3ca9800322 src/java.base/share/classes/
> java/ut
Good for me !
Remi
On November 9, 2016 1:43:52 AM GMT+01:00, Paul Sandoz <paul.san...@oracle.com>
wrote:
>Hi
>
>Please review this compatible fix to Stream.generate to accept a
>covariant Supplier.
>
>Paul.
>
>diff -r 3e3ca9800322
>src/java.base/share/cla
Hi
Please review this compatible fix to Stream.generate to accept a covariant
Supplier.
Paul.
diff -r 3e3ca9800322 src/java.base/share/classes/java/util/stream/Stream.java
--- a/src/java.base/share/classes/java/util/stream/Stream.java Tue Nov 08
15:37:20 2016 -0800
+++ b/src/java.base/share
On 07/22/2015 10:10 AM, Paul Sandoz wrote:
On 20 Jul 2015, at 19:08, Remi Forax fo...@univ-mlv.fr 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
On 20 Jul 2015, at 19:08, Remi Forax fo...@univ-mlv.fr 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) {
SupplierString
Hi Remi,
Can you log an issue?
Thanks,
Paul.
On 20 Jul 2015, at 19:08, Remi Forax fo...@univ-mlv.fr 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
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) {
SupplierString supplier = () - hello;
StreamCharSequence s = Stream.generate(supplier);
}
The fix is simple, in interface Stream, generate
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) {
SupplierString supplier = () - hello;
StreamCharSequence s = Stream.generate