espelhamento de
https://github.com/eclipse-aspectj/aspectj.git
sincronizado 2024-08-26 05:57:44 +02:00
![jhugunin](/assets/img/avatar_default.png)
super-qualified pointcut reference cause weaver stack trace and Bugzilla Bug 40814 no error when defining interface pointcuts
17 linhas
315 B
Java
17 linhas
315 B
Java
|
|
|
|
/** @testcase PR#40814 compile error expected for pointcuts in interfaces
|
|
* revised to check for error on abstract pointcuts in interfaces or classes
|
|
**/
|
|
interface I {
|
|
abstract pointcut pc(); // CE
|
|
}
|
|
|
|
abstract class C {
|
|
abstract pointcut pc(); // CE
|
|
}
|
|
|
|
class Concrete {
|
|
abstract pointcut pc(); // CE
|
|
}
|