A default toList() method has been added to the java.util.stream.Stream
interface in Java SE 16. Classes that implement java.util.stream.Stream and
another interface which defines a toList() default method might need to be
modified to override the toList() method.
Additionally, there is now a source incompatibility with classes that implement or interfaces
that extend the java.util.stream.Stream interface and statically import a toList()
method. If the application is recompiled using Java SE 16, these references must be updated
to use a qualified name instead of a static import.
For more information on these changes, see Add Stream.toList() Method.