diff options
author | mwebster <mwebster> | 2006-07-31 15:28:31 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-07-31 15:28:31 +0000 |
commit | 079fb81e534c13dbc1b1f4cd01f4f70cffd45b77 (patch) | |
tree | dcdb1f41f4ecd9c880853e23c8d9a49d95f8f5a9 /weaver | |
parent | a3f3ae406d01081897b68c1344b4f23cbabaeed8 (diff) | |
download | aspectj-079fb81e534c13dbc1b1f4cd01f4f70cffd45b77.tar.gz aspectj-079fb81e534c13dbc1b1f4cd01f4f70cffd45b77.zip |
Bug 150487 "Tracing and Logging Framework" (remove tracing from ClassPathManager to prevent recursion in JDK 1.4 LTW)
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/ClassPathManager.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/ClassPathManager.java b/weaver/src/org/aspectj/weaver/bcel/ClassPathManager.java index 5f06c0e6f..6f9025e20 100644 --- a/weaver/src/org/aspectj/weaver/bcel/ClassPathManager.java +++ b/weaver/src/org/aspectj/weaver/bcel/ClassPathManager.java @@ -46,7 +46,11 @@ public class ClassPathManager { private static int maxOpenArchives = -1; private static final int MAXOPEN_DEFAULT = 1000; - private static Trace trace = TraceFactory.getTraceFactory().getTrace(ClassPathManager.class); + /* + * FIXME maw Tracing ClassPathManager can cause recursion for JDK 1.4 + * LTW i.e. -Djava.system.class.loader + */ +// private static Trace trace = TraceFactory.getTraceFactory().getTrace(ClassPathManager.class); static { String openzipsString = getSystemPropertyWithoutSecurityException("org.aspectj.weaver.openarchives",Integer.toString(MAXOPEN_DEFAULT)); @@ -57,13 +61,13 @@ public class ClassPathManager { public ClassPathManager(List classpath, IMessageHandler handler) { - if (trace.isTraceEnabled()) trace.enter("<init>",this,new Object[] { classpath, handler }); +// if (trace.isTraceEnabled()) trace.enter("<init>",this,new Object[] { classpath, handler }); entries = new ArrayList(); for (Iterator i = classpath.iterator(); i.hasNext();) { String name = (String) i.next(); addPath(name, handler); } - if (trace.isTraceEnabled()) trace.exit("<init>"); +// if (trace.isTraceEnabled()) trace.exit("<init>"); } protected ClassPathManager() {}; |