// "Adapt using 'Math.toIntExact()'" "true-preview" public class Test { void m() { int i = Long.valueOf(123); } }