aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-12 15:42:19 +0000
committeraclement <aclement>2005-12-12 15:42:19 +0000
commit9edb4b6f9e8ca59b309ac382e6049321832d0700 (patch)
tree04a0552d85873d498fd00f9b9135e63cbfa3a14f /tests/java5/ataspectj
parent354653d5afebb6dfdb631cadeb2f4474d5371107 (diff)
downloadaspectj-9edb4b6f9e8ca59b309ac382e6049321832d0700.tar.gz
aspectj-9edb4b6f9e8ca59b309ac382e6049321832d0700.zip
fixes for 120363 : from matthew (include/exclude problems for LTW)
Diffstat (limited to 'tests/java5/ataspectj')
-rw-r--r--tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml8
-rw-r--r--tests/java5/ataspectj/com/foo/bar/Test$$EnhancerByCGLIB$$12345.java (renamed from tests/java5/ataspectj/ataspectj/Test$$EnhancerByCGLIB$$12345.java)3
-rw-r--r--tests/java5/ataspectj/com/foo/bar/Test.java19
3 files changed, 26 insertions, 4 deletions
diff --git a/tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml b/tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml
index 487d5dd62..43b749053 100644
--- a/tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml
+++ b/tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<aspectj>
- <weaver options="-verbose">
- <dump within="ataspectj..*" beforeandafter="true"/>
- </weaver>
+ <weaver options="-XlazyTjp -verbose">
+ <dump within="com.foo.bar..*" beforeandafter="true"/>
+ <include within="com.foo..*"/>
+ <exclude within="com.foo.bar..*CGLIB*"/>
+ </weaver>
</aspectj>
diff --git a/tests/java5/ataspectj/ataspectj/Test$$EnhancerByCGLIB$$12345.java b/tests/java5/ataspectj/com/foo/bar/Test$$EnhancerByCGLIB$$12345.java
index 78df5f1b1..3640800b6 100644
--- a/tests/java5/ataspectj/ataspectj/Test$$EnhancerByCGLIB$$12345.java
+++ b/tests/java5/ataspectj/com/foo/bar/Test$$EnhancerByCGLIB$$12345.java
@@ -8,12 +8,13 @@
* Contributors:
* Matthew Webster - initial implementation
*******************************************************************************/
-package ataspectj;
+package com.foo.bar;
public class Test$$EnhancerByCGLIB$$12345 {
public static void main(String[] args) {
System.out.println("Test$$EnhancerByCGLIB$$12345.main()");
+ Test.main(args);
}
}
diff --git a/tests/java5/ataspectj/com/foo/bar/Test.java b/tests/java5/ataspectj/com/foo/bar/Test.java
new file mode 100644
index 000000000..a1629a7b4
--- /dev/null
+++ b/tests/java5/ataspectj/com/foo/bar/Test.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * Matthew Webster - initial implementation
+ *******************************************************************************/
+package com.foo.bar;
+
+public class Test {
+
+ public static void main(String[] args) {
+ System.out.println("Test.main()");
+ }
+
+}