abstract aspect GenericInheritedMethod { protected T getSomething() { return null; } } aspect pr124999 extends GenericInheritedMethod { // Runtime Error void around() : execution(void someMethod()) { System.out.println(getSomething()); } public static void main(String[] args) { new C().someMethod(); } } class C { public void someMethod() { } }