Skip to content

Commit

Permalink
fixed BYTEMAN-222
Browse files Browse the repository at this point in the history
  • Loading branch information
adinn committed Oct 11, 2012
1 parent f8ec601 commit cfcf00f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ public LoadCache(Instrumentation inst)


public Class lookupClass(String name, ClassLoader baseLoader) public Class lookupClass(String name, ClassLoader baseLoader)
{ {
// if we get used by the offline type checker inst will be null so fail quick without an NPE
if (inst == null) {
return null;
}

HashMap<String, Class> baseLoaderMap = null; HashMap<String, Class> baseLoaderMap = null;
Class clazz; Class clazz;


Expand Down

0 comments on commit cfcf00f

Please sign in to comment.