You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PR72157.java 533B

1234567891011121314151617181920212223242526272829303132333435
  1. public class PR72157 {
  2. public PR72157() throws Exception {
  3. throw new Exception();
  4. }
  5. public static void main(String[] args) {
  6. new SCE2();
  7. }
  8. }
  9. class SCE2 extends PR72157 {
  10. public SCE2() {
  11. super(); // CE L13?
  12. }
  13. }
  14. class Foo {
  15. public Foo() throws Exception {
  16. throw new Exception();
  17. }
  18. }
  19. class Goo {
  20. public Goo() {
  21. new Foo();
  22. }
  23. }
  24. aspect SCEAspect {
  25. declare soft: Exception: within(SCE2);
  26. declare soft: Exception: within(Goo);
  27. }