mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Fix for KT-10590: IllegalAccessError when protected getter of Java base class is accessed from lambda using property access syntax
This commit is contained in:
12
compiler/testData/codegen/boxWithJava/properties/protectedJavaProperty/JavaBaseClass.java
vendored
Normal file
12
compiler/testData/codegen/boxWithJava/properties/protectedJavaProperty/JavaBaseClass.java
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
public class JavaBaseClass {
|
||||
|
||||
private String field = "fail";
|
||||
|
||||
protected String getFoo() {
|
||||
return field;
|
||||
}
|
||||
|
||||
protected void setFoo(String foo) {
|
||||
field = foo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user