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