2323import org .springframework .util .FileCopyUtils ;
2424
2525/**
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} .
3232 *
3333 * @author Rod Johnson
3434 * @author Juergen Hoeller
@@ -39,7 +39,7 @@ public class OverridingClassLoader extends DecoratingClassLoader {
3939
4040 /** Packages that are excluded by default */
4141 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 ." };
4343
4444 private static final String CLASS_FILE_SUFFIX = ".class" ;
4545
0 commit comments