summaryrefslogtreecommitdiffstats
path: root/tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java')
-rw-r--r--tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java b/tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java
index 539e0f767..ae81ab9db 100644
--- a/tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java
+++ b/tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java
@@ -3,7 +3,8 @@ import org.aspectj.weaver.tools.*;
public class ReflectOnAjcCompiledPointcuts {
public static void main(String[] args) {
- PointcutParser p = new PointcutParser();
+ PointcutParser p = PointcutParser.getPointcutParserSupportingAllPrimitivesAndUsingSpecifiedClassloaderForResolution(ReflectOnAjcCompiledPointcuts.class.getClassLoader());
+// PointcutParser p = PointcutParser.getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution();
PointcutExpression pe = null;
// pe = p.parsePointcutExpression("PointcutLibrary.propertyAccess()");
// pe = p.parsePointcutExpression("PointcutLibrary.propertyUpdate()");