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.

FinalStatic.java 320B

1234567891011121314
  1. import org.aspectj.testing.*;
  2. public class FinalStatic {
  3. public static void main(String[] args) {
  4. new FinalStatic().realMain(args);
  5. }
  6. public void realMain(String[] args) {
  7. Tester.check(false, "Shouldn't have compiled");
  8. }
  9. final static int i = -1;
  10. { i = 13; }
  11. }