Permalink
Browse files

EXTSCRIPT-183 removing an npe

  • Loading branch information...
1 parent 04b2602 commit 734b9c01c17f04c192341fc654708fbc91f0e6ea @weblets weblets committed Dec 4, 2012
@@ -60,13 +60,13 @@ public CDIThrowAwayClassloader()
public Class<?> loadClass(String className) throws ClassNotFoundException
{
ClassResource res = (ClassResource) WeavingContext.getInstance().getResource(className);
- boolean tainted = res.isTainted();
+
Class clazz = _delegate.loadClass(className);
if (res == null)
{
return clazz;
}
-
+ boolean tainted = res.isTainted();
Annotation[] anns = clazz.getAnnotations();
boolean cdiAnnotation = false;
//@Named required without named no cdi bean

0 comments on commit 734b9c0

Please sign in to comment.