void () { CovariantException proc = new CovariantException(); // As of Java 21, covariant processors are not supported Integer i = <error descr="Unhandled exception: java.lang.Exception">proc."hello";</error> try { Integer i2 = <error descr="Unhandled exception: java.lang.Exception">proc."hello";</error> } catch (Ex ex) {} }