diff options
author | aclement <aclement> | 2004-07-27 14:17:32 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-07-27 14:17:32 +0000 |
commit | b18436307ecfed63c8995fd35013ffa07e5116e7 (patch) | |
tree | e8cc5630970d6be2a5f4cc321c0e0480cc0e9b2c /tests/bugs | |
parent | 6fd3e87d4dc38f1e237cb6ab75321eadd56e0a75 (diff) | |
download | aspectj-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.class | bin | 0 -> 1540 bytes | |||
-rw-r--r-- | tests/bugs/intertypeOverrides/Aspect1.java | 3 | ||||
-rw-r--r-- | tests/bugs/intertypeOverrides/Aspect2.class | bin | 0 -> 1506 bytes | |||
-rw-r--r-- | tests/bugs/intertypeOverrides/Aspect2.java | 3 | ||||
-rw-r--r-- | tests/bugs/intertypeOverrides/IntertypeOverrides.java | 9 | ||||
-rw-r--r-- | tests/bugs/intertypeOverrides/IntertypeOverrides2.java | 9 | ||||
-rw-r--r-- | tests/bugs/intertypeOverrides/Subclass.class | bin | 0 -> 243 bytes | |||
-rw-r--r-- | tests/bugs/intertypeOverrides/Subclass.java | 2 | ||||
-rw-r--r-- | tests/bugs/intertypeOverrides/Super.class | bin | 0 -> 382 bytes | |||
-rw-r--r-- | tests/bugs/intertypeOverrides/Superclass.class | bin | 0 -> 392 bytes | |||
-rw-r--r-- | tests/bugs/intertypeOverrides/Superclass.java | 4 |
11 files changed, 30 insertions, 0 deletions
diff --git a/tests/bugs/intertypeOverrides/Aspect1.class b/tests/bugs/intertypeOverrides/Aspect1.class Binary files differnew file mode 100644 index 000000000..824e468a1 --- /dev/null +++ b/tests/bugs/intertypeOverrides/Aspect1.class 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 Binary files differnew file mode 100644 index 000000000..f4421e9e3 --- /dev/null +++ b/tests/bugs/intertypeOverrides/Aspect2.class 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 Binary files differnew file mode 100644 index 000000000..c0a203fbd --- /dev/null +++ b/tests/bugs/intertypeOverrides/Subclass.class 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 Binary files differnew file mode 100644 index 000000000..0a91a0098 --- /dev/null +++ b/tests/bugs/intertypeOverrides/Super.class diff --git a/tests/bugs/intertypeOverrides/Superclass.class b/tests/bugs/intertypeOverrides/Superclass.class Binary files differnew file mode 100644 index 000000000..6b0ea6b94 --- /dev/null +++ b/tests/bugs/intertypeOverrides/Superclass.class 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() {}; +} |