Open
Description
Describe the bug
The superclass is not recompiled when a static method is added that is potentially referenced by the superclass.
To Reproduce
class SuperClass {
public static SuperClass create(CharSequence obj) {
if (obj instanceof String) {
return SubClass.create((String)obj);
}
//...
}
}
class SubClass extends SuperClass {
public static SubClass create(String s) {
// this new method is added, and the SuperClass is not recompiled
}}}
}
Or something like the above.
Expected behavior
SuperClass is recompiled