--- /dev/null
+class A implements I {
+}
--- /dev/null
+class B {
+ public void test() {
+ A a = new A();
+ }
+}
--- /dev/null
+interface I {}
--- /dev/null
+aspect X {
+ public final int I.hashCode() { return 1;}
+ // public int I.hashCode() { return 1;}
+}
\ No newline at end of file
--- /dev/null
+ajc -1.5 A.java I.java X.java -outjar code.jar
// runTest("advising privileged access method");
// }
+ public void testRogueError_310043() {
+ runTest("rogue error");
+ }
+
public void testItdMarkerAnnotations_309743() {
runTest("itd marker annotations - 1");
}
<suite>
+ <ajc-test dir="bugs169/pr310043" title="rogue error">
+ <compile files="B.java" classpath="code.jar" aspectpath="code.jar"/>
+
+ </ajc-test>
+
<ajc-test dir="bugs169/pr309743" title="itd marker annotations - 1">
<compile files="A.java" options="-1.5"/>
<run class="A">