blob: 23cb2847756722e8bd7e4c545f5bc8fc5fa43858 [file]
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class ExceptionInIntermediateCall {
public static void main(String[] args) {
try {
check();
} catch (Throwable ignored) {
}
}
private static void check() {
// Breakpoint!
final List<Integer> res = Stream.of(1, 2, 3).map(x -> {
if (x % 2 == 1) {
return x;
}
throw new RuntimeException();
}).collect(Collectors.toList());
}
}