diff options
author | aclement <aclement> | 2004-07-28 14:43:40 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-07-28 14:43:40 +0000 |
commit | 573741c8081c6b6b45921cafaae39f37eede2302 (patch) | |
tree | fae17176ce374ed0881cb10a8a161e39b3e18fbb /tests | |
parent | c143eb5ec12a8ee9cf480e8bf4a4e12acef38d40 (diff) | |
download | aspectj-573741c8081c6b6b45921cafaae39f37eede2302.tar.gz aspectj-573741c8081c6b6b45921cafaae39f37eede2302.zip |
Fix for 64331
java.lang.NullPointerException in WeaverMessageHandler class
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTests.xml | 7 | ||||
-rw-r--r-- | tests/bugs/abstractITDs/A.java | 2 | ||||
-rw-r--r-- | tests/bugs/abstractITDs/B.aj | 3 | ||||
-rw-r--r-- | tests/bugs/abstractITDs/B.jar | bin | 0 -> 1396 bytes | |||
-rw-r--r-- | tests/bugs/abstractITDs/C.java | 2 | ||||
-rw-r--r-- | tests/bugs/abstractITDs/buildBJar.bat | 1 |
6 files changed, 15 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 85c36164b..f76405da3 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -7795,4 +7795,11 @@ </compile> </ajc-test> + <ajc-test dir="bugs/abstractITDs" + pr="64331" title="java.lang.NullPointerException in WeaverMessageHandler class"> + <compile files="A.java,C.java" aspectpath="B.jar"> + <message kind="error" line="1" text="must implement abstract inter-type declaration: void A.foo()"/> + </compile> + </ajc-test> + </suite> diff --git a/tests/bugs/abstractITDs/A.java b/tests/bugs/abstractITDs/A.java new file mode 100644 index 000000000..5d9e777af --- /dev/null +++ b/tests/bugs/abstractITDs/A.java @@ -0,0 +1,2 @@ +public abstract class A { +} diff --git a/tests/bugs/abstractITDs/B.aj b/tests/bugs/abstractITDs/B.aj new file mode 100644 index 000000000..54af3233e --- /dev/null +++ b/tests/bugs/abstractITDs/B.aj @@ -0,0 +1,3 @@ +public aspect B {
+ abstract public void A.foo();
+}
\ No newline at end of file diff --git a/tests/bugs/abstractITDs/B.jar b/tests/bugs/abstractITDs/B.jar Binary files differnew file mode 100644 index 000000000..b0fcaad10 --- /dev/null +++ b/tests/bugs/abstractITDs/B.jar diff --git a/tests/bugs/abstractITDs/C.java b/tests/bugs/abstractITDs/C.java new file mode 100644 index 000000000..8e6613707 --- /dev/null +++ b/tests/bugs/abstractITDs/C.java @@ -0,0 +1,2 @@ +public class C extends A { +}
\ No newline at end of file diff --git a/tests/bugs/abstractITDs/buildBJar.bat b/tests/bugs/abstractITDs/buildBJar.bat new file mode 100644 index 000000000..4905f255f --- /dev/null +++ b/tests/bugs/abstractITDs/buildBJar.bat @@ -0,0 +1 @@ +ajc A.java B.aj -outjar B.jar
|