Community
Participate
Working Groups
don't know why but that one fails on jrockit 1.5 _ 03 removed from the suite for now since can't figure what s happening (looks like infinite loop in m5, though there is the arythmetic exception, and even the m6 call as one can see from the sandbox/*.out test event output)
raising to P2 for run up to AJ 5 RC1.
I was able to reproduce this, and it certainly is very odd behaviour. Note that if I change the definition of the m5 method from: void m5() { while (true) { int x = 0; int y = 2/x; } } to: void m5() { while (true) { int x = 0; int y = 2/x; throw new ArithmeticException(); } } to explicitly throw the expected ArithmeticException then everything works fine as expected. Since this change does not affect the situation that the test case is actually trying to test, I've checked in this change and re-enable the test in the suite. I suspect there is some jrockit bug lurking wrt. the division by zero in the infinite loop but goodness knows what it is as the program gets all the way to the end (past the loop in question), but never actually terminates. I don't think there is an identifiable AspectJ bug here, so I'm closing the report and we just need to be aware if we ever see anything like this occuring on jrockit in the wild....
ok