Community
Participate
Working Groups
whenever I want to run one of my testcases, the VM aborts with following exception: Failed to invoke suite():java.lang.VerifyError: (class: org/schmidmeier/unittests/cache/TimeCacheTestsWorking, method: runTest signature: ()V) Expecting to find integer on stack Classes:
Created attachment 4770 [details] soureces to reproduce the bug AspectJ 1.1 rc 2 Junit as with eclipse 2.1 JDK, linux 1.4.1 rc 2
Arno, is this a new bug since 1.1rc1, or is this code that only has worked in 1.0.6? Knowing this should help in identifying the problem.
Comment on attachment 4770 [details] soureces to reproduce the bug This bug was already in rc1. I didn't report it then, because I expectat, that it was a duplicate of one of the other verify bugs. The same code runs fine, when compiled and executed with 1.0.6
This is a variant of the VerifyError that Rich Price submitted, but it is sufficiently different that the fix for his bug doesn't also apply here.
This bug has been isolated and a minimal test case constructed. The issue is with complicated around advice that returns while values are still on the stack (the code that makes that happen varies from compiler to compiler, but is certainly legal and must be handled). This conflicts with the more agressive around-inling strategy in 1.1.
this is fixed in the tree and includes a minimal test Thanks for the small self-contained example that made the bug easy to reproduce. However, if possible it is most valuable if you can submit a case that doesn't contain any proprietary code and that you can submit without a copyright notice (or with the CPL license). This will enable us to directly add your test case to the test suite rather than needing to isolate the bug and build a new test case for the same bug.