On Fri, 19 Apr 2024 21:36:42 GMT, xxDark <d...@openjdk.org> wrote: > I noticed that most (if not all) methods don't ensure non-nullability of > `filter` so NPE would only be thrown if the list is not empty.
Yeah, thats true. not sure if it has to throw NPE even if list is emply ------------- PR Comment: https://git.openjdk.org/jdk/pull/18639#issuecomment-2067350248