Fixed method no longer present in Stream interface in JDK build 123.