ClassCastException at BcelRenderer.java:16
<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>
--- /dev/null
+
+
+public class PrimitiveCoercionInExactTypePatternMatching {
+ double foo(double x) {
+ return x;
+ }
+}
+
+aspect Aspect {
+
+ pointcut foo(int b): args(b);
+
+ before(int i) : foo(i) {
+ }
+}
\ No newline at end of file