From c3bef72dcac14398332abde6dfd5498eec24b042 Mon Sep 17 00:00:00 2001 From: acolyer Date: Sun, 27 Nov 2005 18:45:06 +0000 Subject: updated tests and fix for pr116229 --- tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/java5/reflection') 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()"); -- cgit v1.2.3