Fixed visibility generated by backend for internal members. Now they are public in JVM, but have special flag in annotation.
This commit is contained in:
@@ -9,11 +9,11 @@ abstract class ClassValAbstract {
|
||||
fun box() : String {
|
||||
for(m in ClassValAbstract.methods) {
|
||||
if(m.sure().getName() == "getA") {
|
||||
if(m.sure().getModifiers() != 1024)
|
||||
if(m.sure().getModifiers() != 1025)
|
||||
return "get failed"
|
||||
}
|
||||
if(m.sure().getName() == "setA") {
|
||||
if(m.sure().getModifiers() != 1024)
|
||||
if(m.sure().getModifiers() != 1025)
|
||||
return "set failed"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user