You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class Factory {
public Factory(Runnable runnable) {
}
}
public class BuggyClass {
public BuggyClass() {
}
static Factory FACTORY = new Factory(BuggyClass::new);
}
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
new BuggyClass();
}
}
Causes:
java.lang.VerifyError: Rejecting class com.example.konmik.retrobug.BuggyClass because it failed compile-time verification (declaration of 'com.example.konmik.retrobug.BuggyClass' appears in /data/app/com.example.konmik.retrobug-1/base.apk)
at com.example.konmik.retrobug.MainActivity.onCreate(MainActivity.java:11)