On Mon, 30 Oct 2023 15:38:35 GMT, Viktor Klang <vkl...@openjdk.org> wrote:

> This Pull-Request implements [JEP-461](https://openjdk.org/jeps/461)

src/java.base/share/classes/java/util/stream/GathererOp.java line 50:

> 48:  */
> 49: final class GathererOp<T, A, R> extends ReferencePipeline<T, R> {
> 50:     @SuppressWarnings("unchecked")

Could you explain why you need a SuppressWarnings here, especially the cast to 
(ReferencePipeline<?,T>) in the else case

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1386975669

Reply via email to