Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Refined default excluded packages
Issue: SPR-13886
  • Loading branch information
jhoeller committed Apr 12, 2016
1 parent b6f1afd commit bdb9473
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -23,12 +23,12 @@
import org.springframework.util.FileCopyUtils;

/**
* {@code ClassLoader} that does <i>not</i> always delegate to the
* parent loader, as normal class loaders do. This enables, for example,
* instrumentation to be forced in the overriding ClassLoader, or a
* "throwaway" class loading behavior, where selected classes are
* temporarily loaded in the overriding ClassLoader, in order to load
* an instrumented version of the class in the parent ClassLoader later on.
* {@code ClassLoader} that does <i>not</i> always delegate to the parent loader
* as normal class loaders do. This enables, for example, instrumentation to be
* forced in the overriding ClassLoader, or a "throwaway" class loading behavior
* where selected application classes are temporarily loaded in the overriding
* {@code ClassLoader} for introspection purposes before eventually loading an
* instrumented version of the class in the given parent {@code ClassLoader}.
*
* @author Rod Johnson
* @author Juergen Hoeller
Expand All @@ -39,7 +39,7 @@ public class OverridingClassLoader extends DecoratingClassLoader {

/** Packages that are excluded by default */
public static final String[] DEFAULT_EXCLUDED_PACKAGES = new String[]
{"java.", "javax.", "sun.", "oracle.", "javassist.", "org.springframework.core."};
{"java.", "javax.", "sun.", "oracle.", "javassist.", "org.aspectj.", "net.sf.cglib."};

private static final String CLASS_FILE_SUFFIX = ".class";

Expand Down

0 comments on commit bdb9473

Please sign in to comment.