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

UnterminatedDeclareErrorCE.java 276B

1234567891011
  1. /** @testcase expect CE for unterminated declare error */
  2. aspect UnterminatedDeclareErrorCE {
  3. declare error : execution(void run()) : "error"
  4. }// CE 5
  5. class C {
  6. // bug - get CE here if uncommented, but declare error unterminated
  7. // public void run() { }
  8. }