// "Add 'throws RuntimeException' to method signature" "true-preview" class a { int f() throws AssertionError { } class b extends a { int f() { throw new RuntimeException(); } } }