diff options
author | aclement <aclement> | 2009-02-09 20:21:18 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-02-09 20:21:18 +0000 |
commit | 6a46a9eaf098d04844852e055c75d062c1361e8c (patch) | |
tree | f50ca628ed7518d82111fb90194ceaa19b66b4ca /tests/bugs164 | |
parent | 2dca2a4e22cca7bafebcb474f707b2a423a8ac7e (diff) | |
download | aspectj-6a46a9eaf098d04844852e055c75d062c1361e8c.tar.gz aspectj-6a46a9eaf098d04844852e055c75d062c1361e8c.zip |
262350: testcode
Diffstat (limited to 'tests/bugs164')
-rw-r--r-- | tests/bugs164/pr262350/Instrumentation.java | 9 | ||||
-rw-r--r-- | tests/bugs164/pr262350/Test3.java | 10 | ||||
-rw-r--r-- | tests/bugs164/pr262350/Test4.java | 10 |
3 files changed, 29 insertions, 0 deletions
diff --git a/tests/bugs164/pr262350/Instrumentation.java b/tests/bugs164/pr262350/Instrumentation.java new file mode 100644 index 000000000..13f86c9d3 --- /dev/null +++ b/tests/bugs164/pr262350/Instrumentation.java @@ -0,0 +1,9 @@ +package dImmunix; + +import java.util.concurrent.locks.Lock; +import java.util.concurrent.locks.ReentrantLock; +public aspect Instrumentation { + after(Object l) throwing: lock() && args(l) { + } +} + diff --git a/tests/bugs164/pr262350/Test3.java b/tests/bugs164/pr262350/Test3.java new file mode 100644 index 000000000..df50dba37 --- /dev/null +++ b/tests/bugs164/pr262350/Test3.java @@ -0,0 +1,10 @@ +public class Test3 { + public void m0() { + synchronized (this) { + synchronized ("Hello") { + System.out.println("Hello World"); + } + + } + } +} diff --git a/tests/bugs164/pr262350/Test4.java b/tests/bugs164/pr262350/Test4.java new file mode 100644 index 000000000..df50dba37 --- /dev/null +++ b/tests/bugs164/pr262350/Test4.java @@ -0,0 +1,10 @@ +public class Test3 { + public void m0() { + synchronized (this) { + synchronized ("Hello") { + System.out.println("Hello World"); + } + + } + } +} |