J2K: preserving of visibility modifier for override members when access level was higher

This commit is contained in:
Valentin Kipyatkov
2015-09-15 12:26:33 +03:00
parent 6f12db9cde
commit cc4aa6ed21
9 changed files with 59 additions and 8 deletions
@@ -0,0 +1,10 @@
class Base {
protected void foo(){}
}
class Derived extends Base {
@Override
public void foo() {
super.foo();
}
}