Re: RFR: 8318420 : AbstractPipeline invokes overridden method in constructor

2023-10-19 Thread Viktor Klang
On Wed, 18 Oct 2023 09:45:53 GMT, Viktor Klang wrote: > This PR corrects so that `opIsStateful()` is not invoked as a part of the > java.util.stream.AbstractPipeline constructor—as `opIsStateful()` is intended > to be overridden by subclasses, and as their own constructors have not run > when

RFR: 8318420 : AbstractPipeline invokes overridden method in constructor

2023-10-19 Thread Viktor Klang
This PR corrects so that `opIsStateful()` is not invoked as a part of the java.util.stream.AbstractPipeline constructor—as `opIsStateful()` is intended to be overridden by subclasses, and as their own constructors have not run when their superclass constructor runs, this means that `opIsStateful

Re: RFR: 8318420 : AbstractPipeline invokes overridden method in constructor

2023-10-19 Thread Paul Sandoz
On Wed, 18 Oct 2023 09:45:53 GMT, Viktor Klang wrote: > This PR corrects so that `opIsStateful()` is not invoked as a part of the > java.util.stream.AbstractPipeline constructor—as `opIsStateful()` is intended > to be overridden by subclasses, and as their own constructors have not run > when

Re: RFR: 8318420 : AbstractPipeline invokes overridden method in constructor

2023-10-19 Thread Viktor Klang
On Wed, 18 Oct 2023 09:45:53 GMT, Viktor Klang wrote: > This PR corrects so that `opIsStateful()` is not invoked as a part of the > java.util.stream.AbstractPipeline constructor—as `opIsStateful()` is intended > to be overridden by subclasses, and as their own constructors have not run > when