import java.util.List; import java.util.ArrayList; import java.lang.Integer; import java.lang.System; import java.io.PrintStream; import java.util.stream.Stream; import java.util.function.Function; public class Bug298 { public void m() { List list = new ArrayList<>(); list.stream().map(x -> 2 * x); } }