aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authoraclement <aclement>2004-07-27 14:17:32 +0000
committeraclement <aclement>2004-07-27 14:17:32 +0000
commitb18436307ecfed63c8995fd35013ffa07e5116e7 (patch)
treee8cc5630970d6be2a5f4cc321c0e0480cc0e9b2c /tests/bugs
parent6fd3e87d4dc38f1e237cb6ab75321eadd56e0a75 (diff)
downloadaspectj-b18436307ecfed63c8995fd35013ffa07e5116e7.tar.gz
aspectj-b18436307ecfed63c8995fd35013ffa07e5116e7.zip
Fix for bug 69459
Hiding of Instance Methods by static methods
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/intertypeOverrides/Aspect1.classbin0 -> 1540 bytes
-rw-r--r--tests/bugs/intertypeOverrides/Aspect1.java3
-rw-r--r--tests/bugs/intertypeOverrides/Aspect2.classbin0 -> 1506 bytes
-rw-r--r--tests/bugs/intertypeOverrides/Aspect2.java3
-rw-r--r--tests/bugs/intertypeOverrides/IntertypeOverrides.java9
-rw-r--r--tests/bugs/intertypeOverrides/IntertypeOverrides2.java9
-rw-r--r--tests/bugs/intertypeOverrides/Subclass.classbin0 -> 243 bytes
-rw-r--r--tests/bugs/intertypeOverrides/Subclass.java2
-rw-r--r--tests/bugs/intertypeOverrides/Super.classbin0 -> 382 bytes
-rw-r--r--tests/bugs/intertypeOverrides/Superclass.classbin0 -> 392 bytes
-rw-r--r--tests/bugs/intertypeOverrides/Superclass.java4
11 files changed, 30 insertions, 0 deletions
diff --git a/tests/bugs/intertypeOverrides/Aspect1.class b/tests/bugs/intertypeOverrides/Aspect1.class
new file mode 100644
index 000000000..824e468a1
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Aspect1.class
Binary files differ
diff --git a/tests/bugs/intertypeOverrides/Aspect1.java b/tests/bugs/intertypeOverrides/Aspect1.java
new file mode 100644
index 000000000..e6dbf8bd8
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Aspect1.java
@@ -0,0 +1,3 @@
+aspect Aspect1 {
+ public void Subclass.staticMethod() {};
+}
diff --git a/tests/bugs/intertypeOverrides/Aspect2.class b/tests/bugs/intertypeOverrides/Aspect2.class
new file mode 100644
index 000000000..f4421e9e3
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Aspect2.class
Binary files differ
diff --git a/tests/bugs/intertypeOverrides/Aspect2.java b/tests/bugs/intertypeOverrides/Aspect2.java
new file mode 100644
index 000000000..b2ea3ca56
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Aspect2.java
@@ -0,0 +1,3 @@
+aspect Aspect2 {
+ public static void Subclass.nonstaticMethod() {};
+}
diff --git a/tests/bugs/intertypeOverrides/IntertypeOverrides.java b/tests/bugs/intertypeOverrides/IntertypeOverrides.java
new file mode 100644
index 000000000..895a49b91
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/IntertypeOverrides.java
@@ -0,0 +1,9 @@
+class Super {
+ public void m(){};
+}
+
+class Sub extends Super {}
+
+aspect A {
+ public static void Sub.m(){}
+}
diff --git a/tests/bugs/intertypeOverrides/IntertypeOverrides2.java b/tests/bugs/intertypeOverrides/IntertypeOverrides2.java
new file mode 100644
index 000000000..ae86cc3bf
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/IntertypeOverrides2.java
@@ -0,0 +1,9 @@
+class Super {
+ public static void m(){};
+}
+
+class Sub extends Super {}
+
+aspect A {
+ public void Sub.m(){}
+}
diff --git a/tests/bugs/intertypeOverrides/Subclass.class b/tests/bugs/intertypeOverrides/Subclass.class
new file mode 100644
index 000000000..c0a203fbd
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Subclass.class
Binary files differ
diff --git a/tests/bugs/intertypeOverrides/Subclass.java b/tests/bugs/intertypeOverrides/Subclass.java
new file mode 100644
index 000000000..b87d7c845
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Subclass.java
@@ -0,0 +1,2 @@
+class Subclass extends Superclass {
+}
diff --git a/tests/bugs/intertypeOverrides/Super.class b/tests/bugs/intertypeOverrides/Super.class
new file mode 100644
index 000000000..0a91a0098
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Super.class
Binary files differ
diff --git a/tests/bugs/intertypeOverrides/Superclass.class b/tests/bugs/intertypeOverrides/Superclass.class
new file mode 100644
index 000000000..6b0ea6b94
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Superclass.class
Binary files differ
diff --git a/tests/bugs/intertypeOverrides/Superclass.java b/tests/bugs/intertypeOverrides/Superclass.java
new file mode 100644
index 000000000..eface6c39
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/Superclass.java
@@ -0,0 +1,4 @@
+class Superclass {
+ public static void staticMethod(){} {}
+ public void nonstaticMethod() {};
+}