public class Testing {
    public static void main(String[] args) {
        final short x = 99;
        byte y = 33;
        byte r = true ? x : y;
        // java: incompatible types: possible lossy conversion from short to byte
        System.out.println(r);
    }
} 