I am using latest IntelliJ Idea ultimate version 2020.1.4 and trying to debug my unit tests. My unit test is run as gradle test. When I evaluate a java method which returns a List , I can see all the values in the list but the moment I try to access the stream() and use filter in the evaluation window I get compilation error.
Just evaluating list.stream() seems to work but adding filter has got some issues.
This is when I use .stream() on my list.
And thats the error I get
This used to work in the older version of idea.Any pointers what can be the reason ?