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.

DeclarePrecedenceTestClass.java 365B

123456789101112131415
  1. //Bug 53012
  2. // DP contains a declare precedence statement that mentions classes
  3. public class DeclarePrecedenceTestClass {
  4. public static void main(String[] args) {
  5. System.out.println("hello");
  6. }
  7. }
  8. aspect DP {
  9. declare precedence: DeclarePrecedenceTestClass, DP;
  10. before() : staticinitialization(DeclarePrecedenceTestClass) {
  11. System.out.println("ok");
  12. }
  13. }