Skip to content

Commit

Permalink
Falling back to System class loader instead of TCCL
Browse files Browse the repository at this point in the history
  • Loading branch information
tommysdk authored and Andrew Lee Rubinger committed May 31, 2011
1 parent 7663f67 commit e4e313c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public InputStream openStream()
*/
ClassLoader classLoader= clazz.getClassLoader();
if(classLoader == null) {
classLoader = SecurityActions.getThreadContextClassLoader();
classLoader = ClassLoader.getSystemClassLoader();
}
return new ClassLoaderAsset(getResourceNameOfClass(clazz), classLoader).openStream();
}
Expand Down

0 comments on commit e4e313c

Please sign in to comment.