23
23
import org .springframework .util .FileCopyUtils ;
24
24
25
25
/**
26
- * {@code ClassLoader} that does <i>not</i> always delegate to the
27
- * parent loader, as normal class loaders do. This enables, for example,
28
- * instrumentation to be forced in the overriding ClassLoader, or a
29
- * "throwaway" class loading behavior, where selected classes are
30
- * temporarily loaded in the overriding ClassLoader, in order to load
31
- * an instrumented version of the class in the parent ClassLoader later on .
26
+ * {@code ClassLoader} that does <i>not</i> always delegate to the parent loader
27
+ * as normal class loaders do. This enables, for example, instrumentation to be
28
+ * forced in the overriding ClassLoader, or a "throwaway" class loading behavior
29
+ * where selected application classes are temporarily loaded in the overriding
30
+ * {@code ClassLoader} for introspection purposes before eventually loading an
31
+ * instrumented version of the class in the given parent {@code ClassLoader} .
32
32
*
33
33
* @author Rod Johnson
34
34
* @author Juergen Hoeller
@@ -39,7 +39,7 @@ public class OverridingClassLoader extends DecoratingClassLoader {
39
39
40
40
/** Packages that are excluded by default */
41
41
public static final String [] DEFAULT_EXCLUDED_PACKAGES = new String []
42
- {"java." , "javax." , "sun." , "oracle." , "javassist." , "org.springframework.core ." };
42
+ {"java." , "javax." , "sun." , "oracle." , "javassist." , "org.aspectj." , "net.sf.cglib ." };
43
43
44
44
private static final String CLASS_FILE_SUFFIX = ".class" ;
45
45
0 commit comments