diff options
Diffstat (limited to 'src/main/javassist')
-rw-r--r-- | src/main/javassist/ClassPool.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java index 26468b43..137ad3a9 100644 --- a/src/main/javassist/ClassPool.java +++ b/src/main/javassist/ClassPool.java @@ -660,13 +660,14 @@ public class ClassPool extends AbsClassPool { throws NotFoundException { CtClass clazz; + clazz = getCached(classname); + if (clazz != null) return clazz; if (parent != null) { clazz = parent.get0(classname); if (clazz != null) return clazz; } - clazz = getCached(classname); if (clazz == null) { clazz = get1(classname); if (clazz != null) |