EMPTY = registerSetIfNew(null, null); ALL_THROWABLES = registerSetIfNew(allThrowablesSet, null); VM_ERRORS = registerSetIfNew(vmErrorSet, null); resolveClassErrorSet.add(Scene.v().getRefType("java.lang.NoClassDefFoundError")); resolveClassErrorSet.add(Scene.v().getRefType("java.lang.VerifyError")); RESOLVE_CLASS_ERRORS = registerSetIfNew(resolveClassErrorSet, null); RESOLVE_FIELD_ERRORS = registerSetIfNew(resolveFieldErrorSet, null); resolveMethodErrorSet.add(Scene.v().getRefType("java.lang.NoSuchMethodError")); resolveMethodErrorSet.add(Scene.v().getRefType("java.lang.UnsatisfiedLinkError")); RESOLVE_METHOD_ERRORS = registerSetIfNew(resolveMethodErrorSet, null); INITIALIZATION_ERRORS = registerSetIfNew(initializationErrorSet, null);
result = Manager.v().registerSetIfNew(resultSet, this.exceptionsExcluded); } else { result = this;
throws ThrowableSet.AlreadyHasExclusionsException { if (INSTRUMENTING) { Manager.v().addsOfAnySubType++; if (result != null) { if (INSTRUMENTING) { Manager.v().addsInclusionFromMemo++; Manager.v().addsExclusionWithoutSearch++; Manager.v().addsExclusionWithSearch++; } else { Manager.v().addsExclusionWithoutSearch++; if (INSTRUMENTING) { Manager.v().addsInclusionInterrupted++; Manager.v().addsInclusionFromMap++; Manager.v().addsInclusionFromSearch++; result = Manager.v().registerSetIfNew(resultSet, this.exceptionsExcluded); } else {
throws ThrowableSet.AlreadyHasExclusionsException { if (INSTRUMENTING) { Manager.v().addsOfAnySubType++; if (result != null) { if (INSTRUMENTING) { Manager.v().addsInclusionFromMemo++; Manager.v().addsExclusionWithoutSearch++; Manager.v().addsExclusionWithSearch++; } else { Manager.v().addsExclusionWithoutSearch++; if (INSTRUMENTING) { Manager.v().addsInclusionInterrupted++; Manager.v().addsInclusionFromMap++; Manager.v().addsInclusionFromSearch++; result = Manager.v().registerSetIfNew(resultSet, this.exceptionsExcluded); } else {
throws ThrowableSet.AlreadyHasExclusionsException { if (INSTRUMENTING) { Manager.v().addsOfRefType++; Manager.v().addsInclusionFromMap++; Manager.v().addsExclusionWithoutSearch++; if (result != null) { if (INSTRUMENTING) { Manager.v().addsInclusionFromMemo++; Manager.v().addsExclusionWithoutSearch++; Manager.v().addsInclusionFromSearch++; if (exceptionsExcluded.size() != 0) { Manager.v().addsExclusionWithSearch++; } else { Manager.v().addsExclusionWithoutSearch++; result = Manager.v().registerSetIfNew(resultSet, this.exceptionsExcluded); memoizedAdds.put(e, result);
Unit blockTail = block.getTail(); ArrayList<ExceptionDest> blocksDests = null; ThrowableSet escapingThrowables = ThrowableSet.Manager.v().EMPTY; escapingThrowables = escapingThrowables.add(unitDest.getThrowables()); } catch (ThrowableSet.AlreadyHasExclusionsException e) { if (escapingThrowables != ThrowableSet.Manager.v().EMPTY) { if (escapingThrowables != ThrowableSet.Manager.v().EMPTY) { ExceptionDest escapingDest = new ExceptionDest(null, escapingThrowables, null);
throws ThrowableSet.AlreadyHasExclusionsException { if (INSTRUMENTING) { Manager.v().addsOfRefType++; Manager.v().addsInclusionFromMap++; Manager.v().addsExclusionWithoutSearch++; if (result != null) { if (INSTRUMENTING) { Manager.v().addsInclusionFromMemo++; Manager.v().addsExclusionWithoutSearch++; Manager.v().addsInclusionFromSearch++; if (exceptionsExcluded.size() != 0) { Manager.v().addsExclusionWithSearch++; } else { Manager.v().addsExclusionWithoutSearch++; result = Manager.v().registerSetIfNew(resultSet, this.exceptionsExcluded); memoizedAdds.put(e, result);
Unit blockTail = block.getTail(); ArrayList<ExceptionDest> blocksDests = null; ThrowableSet escapingThrowables = ThrowableSet.Manager.v().EMPTY; escapingThrowables = escapingThrowables.add(unitDest.getThrowables()); } catch (ThrowableSet.AlreadyHasExclusionsException e) { if (escapingThrowables != ThrowableSet.Manager.v().EMPTY) { if (escapingThrowables != ThrowableSet.Manager.v().EMPTY) { ExceptionDest escapingDest = new ExceptionDest(null, escapingThrowables, null);
result = Manager.v().registerSetIfNew(resultSet, this.exceptionsExcluded); } else {
Manager.v().removesOfAnySubType++; Manager.v().removesFromSearch++; return new Pair(ThrowableSet.Manager.v().EMPTY, this); } else if (h.canStoreType(exclusionBase, catcher)) { = Manager.v().registerSetIfNew(caughtIncluded, caughtExcluded); ThrowableSet uncaughtSet = Manager.v().registerSetIfNew(uncaughtIncluded, uncaughtExcluded); return new Pair(caughtSet, uncaughtSet);
Manager.v().removesOfAnySubType++; Manager.v().removesFromSearch++; return new Pair(ThrowableSet.Manager.v().EMPTY, this); } else if (h.canStoreType(exclusionBase, catcher)) { = Manager.v().registerSetIfNew(caughtIncluded, caughtExcluded); ThrowableSet uncaughtSet = Manager.v().registerSetIfNew(uncaughtIncluded, uncaughtExcluded); return new Pair(caughtSet, uncaughtSet);
if (catchableAs.getCaught() != ThrowableSet.Manager.v().EMPTY) { result = addDestToMap(result, unit, trap, catchableAs.getCaught()); unitToUncaughtThrowables.put(unit, catchableAs.getUncaught()); Unit unit = (Unit) entry.getKey(); ThrowableSet escaping = (ThrowableSet) entry.getValue(); if (escaping != ThrowableSet.Manager.v().EMPTY) { result = addDestToMap(result, unit, null, escaping);
result = Manager.v().registerSetIfNew(resultSet, this.exceptionsExcluded); } else {
Scene.v().getRefType("java.lang.InstantiationError"); EMPTY = registerSetIfNew(null, null); ALL_THROWABLES = registerSetIfNew(allThrowablesSet, null); VM_ERRORS = registerSetIfNew(vmErrorSet, null); resolveClassErrorSet.add(Scene.v().getRefType("java.lang.NoClassDefFoundError")); resolveClassErrorSet.add(Scene.v().getRefType("java.lang.VerifyError")); RESOLVE_CLASS_ERRORS = registerSetIfNew(resolveClassErrorSet, null); RESOLVE_FIELD_ERRORS = registerSetIfNew(resolveFieldErrorSet, null); resolveMethodErrorSet.add(Scene.v().getRefType("java.lang.NoSuchMethodError")); resolveMethodErrorSet.add(Scene.v().getRefType("java.lang.UnsatisfiedLinkError")); RESOLVE_METHOD_ERRORS = registerSetIfNew(resolveMethodErrorSet, null); INITIALIZATION_ERRORS = registerSetIfNew(initializationErrorSet, null);
if (catchableAs.getCaught() != ThrowableSet.Manager.v().EMPTY) { result = addDestToMap(result, unit, trap, catchableAs.getCaught()); unitToUncaughtThrowables.put(unit, catchableAs.getUncaught()); Unit unit = (Unit) entry.getKey(); ThrowableSet escaping = (ThrowableSet) entry.getValue(); if (escaping != ThrowableSet.Manager.v().EMPTY) { result = addDestToMap(result, unit, null, escaping);
Scene.v().getRefType("java.lang.InstantiationError"); EMPTY = registerSetIfNew(null, null); ALL_THROWABLES = registerSetIfNew(allThrowablesSet, null); VM_ERRORS = registerSetIfNew(vmErrorSet, null); resolveClassErrorSet.add(Scene.v().getRefType("java.lang.NoClassDefFoundError")); resolveClassErrorSet.add(Scene.v().getRefType("java.lang.VerifyError")); RESOLVE_CLASS_ERRORS = registerSetIfNew(resolveClassErrorSet, null); RESOLVE_FIELD_ERRORS = registerSetIfNew(resolveFieldErrorSet, null); resolveMethodErrorSet.add(Scene.v().getRefType("java.lang.NoSuchMethodError")); resolveMethodErrorSet.add(Scene.v().getRefType("java.lang.UnsatisfiedLinkError")); RESOLVE_METHOD_ERRORS = registerSetIfNew(resolveMethodErrorSet, null); INITIALIZATION_ERRORS = registerSetIfNew(initializationErrorSet, null);
Manager.v().catchableAsQueries++; Manager.v().catchableAsFromSearch++; if (INSTRUMENTING) { if (exceptionsExcluded.size() == 0) { Manager.v().catchableAsFromMap++; } else { Manager.v().catchableAsFromSearch++; if (INSTRUMENTING) { if (exceptionsExcluded.size() == 0) { Manager.v().catchableAsFromSearch++;
Manager.v().catchableAsQueries++; Manager.v().catchableAsFromSearch++; if (INSTRUMENTING) { if (exceptionsExcluded.size() == 0) { Manager.v().catchableAsFromMap++; } else { Manager.v().catchableAsFromSearch++; if (INSTRUMENTING) { if (exceptionsExcluded.size() == 0) { Manager.v().catchableAsFromSearch++;
final int EXCEPTION_LENGTH = EXCEPTION.length(); Collection vmErrorThrowables = ThrowableSet.Manager.v().VM_ERRORS.exceptionsIncluded; boolean containsAllVmErrors = s.containsAll(vmErrorThrowables); StringBuffer buf = new StringBuffer();
final int EXCEPTION_LENGTH = EXCEPTION.length(); Collection vmErrorThrowables = ThrowableSet.Manager.v().VM_ERRORS.exceptionsIncluded; boolean containsAllVmErrors = s.containsAll(vmErrorThrowables); StringBuffer buf = new StringBuffer();