diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-01-06 01:20:55 +0100 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-01-06 01:42:01 +0100 |
commit | 438eb9301014ffb63bbcbae4df684a2907ac91d5 (patch) | |
tree | c1f8053093ea931a0b65355aa110490432b34ffb /tests/src/test/java/org/aspectj/systemtest/ajc1919 | |
parent | e0a1525ebd9f0f3b806c323223d4776c1275e899 (diff) | |
download | aspectj-438eb9301014ffb63bbcbae4df684a2907ac91d5.tar.gz aspectj-438eb9301014ffb63bbcbae4df684a2907ac91d5.zip |
No more compiler errors for implicitly static inner aspects of interfaces
Fixes #162. Contains regression test
Bugs1919Tests.testInterfaceInnerAspectImplicitlyStatic.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc1919')
-rw-r--r-- | tests/src/test/java/org/aspectj/systemtest/ajc1919/Bugs1919Tests.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc1919/Bugs1919Tests.java b/tests/src/test/java/org/aspectj/systemtest/ajc1919/Bugs1919Tests.java index 7a13eaeea..ae3c54398 100644 --- a/tests/src/test/java/org/aspectj/systemtest/ajc1919/Bugs1919Tests.java +++ b/tests/src/test/java/org/aspectj/systemtest/ajc1919/Bugs1919Tests.java @@ -27,6 +27,10 @@ public class Bugs1919Tests extends XMLBasedAjcTestCase { runTest("parenthesised expression with AspectJ keyword"); } + public void testInterfaceInnerAspectImplicitlyStatic() { + runTest("inner aspect of interface is implicitly static"); + } + public static Test suite() { return XMLBasedAjcTestCase.loadSuite(Bugs1919Tests.class); } |