diff options
author | Andy Clement <aclement@gopivotal.com> | 2014-11-17 14:10:14 -0800 |
---|---|---|
committer | Andy Clement <aclement@gopivotal.com> | 2014-11-17 14:10:14 -0800 |
commit | 934f0b86c5543737d4859131024cf73995fdc347 (patch) | |
tree | fb94c33ef901ed3d676c00734600a5658f6420ae /tests/bugs185 | |
parent | 42c2269b2995336ee80e802753d7a311edaf4b98 (diff) | |
download | aspectj-934f0b86c5543737d4859131024cf73995fdc347.tar.gz aspectj-934f0b86c5543737d4859131024cf73995fdc347.zip |
Fix for 451966: privileged aspects and itd on interfaces
Diffstat (limited to 'tests/bugs185')
-rw-r--r-- | tests/bugs185/451966/Code.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/bugs185/451966/Code.java b/tests/bugs185/451966/Code.java index 7a60ede4c..ff4749340 100644 --- a/tests/bugs185/451966/Code.java +++ b/tests/bugs185/451966/Code.java @@ -1,7 +1,17 @@ +public class Code { + public static void main(String []argv) { + new Bar().foo(); + } +} interface Common { } -interface Allergies extends Common { } +interface Allergies extends Common { + default public void foo() { + } +} + +class Bar implements Allergies { } aspect Y { private boolean Common.instancesInvariant() { |