ClassCastException at BcelRenderer.java:16tags/for_ajdt1_1_12
@@ -7813,5 +7813,10 @@ | |||
<message kind="error" line="1" text="must implement abstract inter-type declaration: void A.foo()"/> | |||
</compile> | |||
</ajc-test> | |||
<ajc-test dir="bugs/pr64262" | |||
title="ClassCastException at BcelRenderer.java:169" pr="64262"> | |||
<compile files="PrimitiveCoercionInExactTypePatternMatching.java"/> | |||
</ajc-test> | |||
</suite> |
@@ -0,0 +1,15 @@ | |||
public class PrimitiveCoercionInExactTypePatternMatching { | |||
double foo(double x) { | |||
return x; | |||
} | |||
} | |||
aspect Aspect { | |||
pointcut foo(int b): args(b); | |||
before(int i) : foo(i) { | |||
} | |||
} |