aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169
diff options
context:
space:
mode:
authoraclement <aclement>2010-04-22 02:24:42 +0000
committeraclement <aclement>2010-04-22 02:24:42 +0000
commitef9124cf8c379663c9cd477384983f03df7e7263 (patch)
tree38a36d57527170291f518d168b8a2ad28bc59221 /tests/bugs169
parentf97adb2888cf3fb5583af0013fa0e583ed191944 (diff)
downloadaspectj-ef9124cf8c379663c9cd477384983f03df7e7263.tar.gz
aspectj-ef9124cf8c379663c9cd477384983f03df7e7263.zip
310043: override final rogue message
Diffstat (limited to 'tests/bugs169')
-rw-r--r--tests/bugs169/pr310043/A.java2
-rw-r--r--tests/bugs169/pr310043/B.java5
-rw-r--r--tests/bugs169/pr310043/I.java1
-rw-r--r--tests/bugs169/pr310043/X.java4
-rw-r--r--tests/bugs169/pr310043/buildjar.bat1
-rw-r--r--tests/bugs169/pr310043/code.jarbin0 -> 2845 bytes
6 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs169/pr310043/A.java b/tests/bugs169/pr310043/A.java
new file mode 100644
index 000000000..73c334c20
--- /dev/null
+++ b/tests/bugs169/pr310043/A.java
@@ -0,0 +1,2 @@
+class A implements I {
+}
diff --git a/tests/bugs169/pr310043/B.java b/tests/bugs169/pr310043/B.java
new file mode 100644
index 000000000..3979b54e6
--- /dev/null
+++ b/tests/bugs169/pr310043/B.java
@@ -0,0 +1,5 @@
+class B {
+ public void test() {
+ A a = new A();
+ }
+}
diff --git a/tests/bugs169/pr310043/I.java b/tests/bugs169/pr310043/I.java
new file mode 100644
index 000000000..5820ccb1f
--- /dev/null
+++ b/tests/bugs169/pr310043/I.java
@@ -0,0 +1 @@
+interface I {}
diff --git a/tests/bugs169/pr310043/X.java b/tests/bugs169/pr310043/X.java
new file mode 100644
index 000000000..d58c5b284
--- /dev/null
+++ b/tests/bugs169/pr310043/X.java
@@ -0,0 +1,4 @@
+aspect X {
+ public final int I.hashCode() { return 1;}
+ // public int I.hashCode() { return 1;}
+} \ No newline at end of file
diff --git a/tests/bugs169/pr310043/buildjar.bat b/tests/bugs169/pr310043/buildjar.bat
new file mode 100644
index 000000000..ac77bb5c4
--- /dev/null
+++ b/tests/bugs169/pr310043/buildjar.bat
@@ -0,0 +1 @@
+ajc -1.5 A.java I.java X.java -outjar code.jar
diff --git a/tests/bugs169/pr310043/code.jar b/tests/bugs169/pr310043/code.jar
new file mode 100644
index 000000000..47803adf2
--- /dev/null
+++ b/tests/bugs169/pr310043/code.jar
Binary files differ