this implements nest based access control as specified in JEP181. This is reproducible with Java11 class files. Sample to reproduce:
public class Test {
private int a;
public void foo() {
DispatchQueue.getMainQueue().async(new Runnable() {
@Override
public void run() {
System.out.println(a);
}
});
}
}
Description
this implements nest based access control as specified in JEP181. This is reproducible with Java11 class files. Sample to reproduce:
Gradle settings:
also fixes https://github.com/MobiVM/robovm/issues/652
limitations
it covers only compilation time access control. Runtime (reflection one) is not covered.
soot to be updated
https://github.com/MobiVM/soot/pull/3/files