Why isn't it allowed to set a protected final field from a subclass constructor?
Example:
class A {
protected final boolean b;
protected A() {
b = false;
}
}
class B extends A {
public B() {
super();
b = true;
}
}
I think it would make sense in some cases, wouldn't it?