Adjust J2K to latest protected visibility fixes
This commit is contained in:
@@ -3,9 +3,9 @@ package test2;
|
||||
import test.*;
|
||||
|
||||
public class DerivedOtherPackage extends BaseOtherPackage {
|
||||
public void usage1() {
|
||||
BaseOtherPackage base = new BaseOtherPackage();
|
||||
base.foo();
|
||||
int i = base.i;
|
||||
protected DerivedOtherPackage() {
|
||||
super();
|
||||
foo();
|
||||
int i = this.i;
|
||||
}
|
||||
}
|
||||
@@ -2,10 +2,9 @@ package test2
|
||||
|
||||
import test.*
|
||||
|
||||
class DerivedOtherPackage : BaseOtherPackage() {
|
||||
fun usage1() {
|
||||
val base = BaseOtherPackage()
|
||||
base.foo()
|
||||
val i = base.i
|
||||
class DerivedOtherPackage protected constructor() : BaseOtherPackage() {
|
||||
init {
|
||||
foo()
|
||||
val i = this.i
|
||||
}
|
||||
}
|
||||
@@ -3,9 +3,8 @@ package test3
|
||||
import test.*
|
||||
|
||||
class DerivedOtherPackageKotlin : BaseOtherPackage() {
|
||||
fun usage1() {
|
||||
val base = BaseOtherPackage()
|
||||
base.foo()
|
||||
val i = base.i
|
||||
init {
|
||||
foo()
|
||||
val i = this.i
|
||||
}
|
||||
}
|
||||
@@ -3,9 +3,8 @@ package test3
|
||||
import test.*
|
||||
|
||||
class DerivedOtherPackageKotlin : BaseOtherPackage() {
|
||||
fun usage1() {
|
||||
val base = BaseOtherPackage()
|
||||
base.foo()
|
||||
val i = base.i
|
||||
init {
|
||||
foo()
|
||||
val i = this.i
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user