Skip to content

Commit

Permalink
bundle application未执行 log
Browse files Browse the repository at this point in the history
  • Loading branch information
zjutyujf committed Oct 6, 2017
1 parent 476bdde commit 6491534
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
import android.app.Application;
import android.os.Looper;
import android.taobao.atlas.framework.BundleImpl;
import android.taobao.atlas.framework.Framework;
import android.taobao.atlas.hack.AtlasHacks;
import android.taobao.atlas.util.FileUtils;
import android.taobao.atlas.util.StringUtils;
Expand Down Expand Up @@ -285,6 +286,10 @@ private void uninstalled(Bundle bundle) {
private void started(Bundle bundle){
BundleImpl b = (BundleImpl) bundle;
if(b.getClassLoader()==null || !((BundleClassLoader)b.getClassLoader()).validateClasses()){
Log.e("BundleLifeCycle","validateClass fail,bundle can't be started :"+b);
if(Framework.isDeubgMode()){
throw new RuntimeException("validateClass fail,bundle can't be started :"+b);
}
return;
}
long time = System.currentTimeMillis();
Expand Down

0 comments on commit 6491534

Please sign in to comment.