// "Defer assignment to 'n' using temp variable" "true-preview"
import java.io.*;

class a {
    void f(InputStream in) {
        final int n;
        try {
            n = in.read();
        } catch (IOException e) {
            <caret>n = -1;
            f(in);
        }

        int y = n;
    }
}
