aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-27 11:34:41 +0000
committeraclement <aclement>2006-06-27 11:34:41 +0000
commit792d1dfd50e8b9ca5df70ea84c0b35de9cfba0f3 (patch)
treec183458e24f0b8c5b20020c97925191983f501c3 /tests/bugs152
parentd1be59a2e48808bc72dea4432dcf00ee50662e5e (diff)
downloadaspectj-792d1dfd50e8b9ca5df70ea84c0b35de9cfba0f3.tar.gz
aspectj-792d1dfd50e8b9ca5df70ea84c0b35de9cfba0f3.zip
test/fix for 148786: new array joinpoint problem. tiny one line change, safe for committing post RC.
Diffstat (limited to 'tests/bugs152')
-rw-r--r--tests/bugs152/pr148786/A.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs152/pr148786/A.java b/tests/bugs152/pr148786/A.java
new file mode 100644
index 000000000..8250730b2
--- /dev/null
+++ b/tests/bugs152/pr148786/A.java
@@ -0,0 +1,11 @@
+public class A {
+ public static void main(String []argv) {
+ byte[][] bytes = new byte[][]{{0},{1}};
+ }
+}
+
+aspect X {
+ after() returning(Object o) : call(*[][].new(..)) {
+ System.err.println("new array: "+o.getClass());
+ }
+}