您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CircularExtendsAspect.java 357B

12345678910111213141516171819
  1. import org.aspectj.testing.Tester;
  2. /**
  3. * @errors 18
  4. * @warnings
  5. */
  6. public class CircularExtendsAspect {
  7. public static void main(String[] args) {
  8. new CircularExtendsAspect().realMain(args);
  9. }
  10. public void realMain(String[] args) {
  11. Tester.check(false, "shouldn't have compiled");
  12. }
  13. }
  14. aspect Aspect extends Aspect {
  15. }