diff options
Diffstat (limited to 'tests/bugs189/486612')
-rw-r--r-- | tests/bugs189/486612/Azpect.java | 7 | ||||
-rw-r--r-- | tests/bugs189/486612/Code.java | 17 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/bugs189/486612/Azpect.java b/tests/bugs189/486612/Azpect.java new file mode 100644 index 000000000..e5a1ba3e5 --- /dev/null +++ b/tests/bugs189/486612/Azpect.java @@ -0,0 +1,7 @@ +aspect Azpect { + declare parents: B implements I; + declare parents: D implements I; + before(): staticinitialization(!Azpect){} +} + +interface I {} diff --git a/tests/bugs189/486612/Code.java b/tests/bugs189/486612/Code.java new file mode 100644 index 000000000..089d93244 --- /dev/null +++ b/tests/bugs189/486612/Code.java @@ -0,0 +1,17 @@ +import java.io.*; + +public class Code { + public static void main(String []argv) { + } +} + +class B<T extends SomeClass & SomeInterface> extends C<T> implements Serializable { +} + +class C<T> {} + +class SomeClass {} +interface SomeInterface {} +interface SomeOtherInterface {} + +class D<T extends SomeInterface&SomeOtherInterface> {} |