aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime/src
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-07-18 14:58:41 +0000
committeravasseur <avasseur>2005-07-18 14:58:41 +0000
commitf632b6ee2fc4ed7e252e231c03c93ba12f5f1dbb (patch)
tree456141208f0cae200fa31dbe1d988cec7e886515 /loadtime/src
parentde064586adce1a43081832aefa88d27e883cb81e (diff)
downloadaspectj-f632b6ee2fc4ed7e252e231c03c93ba12f5f1dbb.tar.gz
aspectj-f632b6ee2fc4ed7e252e231c03c93ba12f5f1dbb.zip
ltw reweavable test for Mattew bug, fix some wrong getCoreType that makes some stderr output when closure are encountered on ltw / dump
Diffstat (limited to 'loadtime/src')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
index ee0783088..f018c0131 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
@@ -250,7 +250,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
return true;
}
//TODO AV - optimize for className.startWith only
- ResolvedType classInfo = weaver.getWorld().getCoreType(UnresolvedType.forName(className));
+ ResolvedType classInfo = weaver.getWorld().resolve(UnresolvedType.forName(className), true);
//exclude
for (Iterator iterator = m_excludeTypePattern.iterator(); iterator.hasNext();) {
TypePattern typePattern = (TypePattern) iterator.next();
@@ -275,7 +275,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
return true;
}
//TODO AV - optimize for className.startWith only
- ResolvedType classInfo = weaver.getWorld().getCoreType(UnresolvedType.forName(aspectClassName));
+ ResolvedType classInfo = weaver.getWorld().resolve(UnresolvedType.forName(aspectClassName), true);
//exclude
for (Iterator iterator = m_aspectExcludeTypePattern.iterator(); iterator.hasNext();) {
TypePattern typePattern = (TypePattern) iterator.next();
@@ -293,7 +293,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
return false;
}
//TODO AV - optimize for className.startWith only
- ResolvedType classInfo = weaver.getWorld().getCoreType(UnresolvedType.forName(className));
+ ResolvedType classInfo = weaver.getWorld().resolve(UnresolvedType.forName(className), true);
//dump
for (Iterator iterator = m_dumpTypePattern.iterator(); iterator.hasNext();) {
TypePattern typePattern = (TypePattern) iterator.next();