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.

MissingExposure.java 333B

123456789101112131415
  1. public class MissingExposure {
  2. public static void main(String[] args) {
  3. C c = new C();
  4. org.aspectj.testing.Tester.check(false, "shouldn't have compiled");
  5. }
  6. }
  7. class C {
  8. int _int = 13;
  9. }
  10. aspect Aspect {
  11. pointcut crash(byte _new): set(int C._int) && args(int);
  12. before(byte _new): crash(_new) {}
  13. }