mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Fix for KT-4250: IllegalAccessError when using protected java member from lambda function
#KT-4250 Fixed
This commit is contained in:
10
compiler/testData/codegen/boxWithJava/statics/protectedSamConstructor/JavaClass.java
vendored
Normal file
10
compiler/testData/codegen/boxWithJava/statics/protectedSamConstructor/JavaClass.java
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
public class JavaClass {
|
||||
|
||||
public String runZ(Z z) {
|
||||
return z.run("O", "K");
|
||||
}
|
||||
|
||||
protected interface Z {
|
||||
String run(String s1, String s2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user