IDE said have an error in map stream
已回答
if you try to put the code below, the Intellij show an error, but compiles and run.

请先登录再写评论。
Please report at https://youtrack.jetbrains.com/issues/IDEA and attach .java file to reproduce. Specify IntelliJ IDEA and JDK versions in the YouTrack ticket.
i reported in IDEA-197763
Please attach the file as text, not as image, save time for our engineers so that they don't have to retype it manually, specify IDE/Java versions used. Specify what error is shown.