Community
Participate
Working Groups
Upon loading a quite large class (6500 lines) I get this error when running all tests that load the weaved class, Thinlet: java.lang.VerifyError: (class: no/vegvesen/fk/pda/gui/Thinlet, method: getGrid signature: (Ljava/lang/Object;)[[I) Wrong return type in function at no.vegvesen.fk.test.GUITestCaseBase.setUp(GUITestCaseBase.java:25) at no.vegvesen.fk.bean.control.PdaControlTestCase.setUp(PdaControlTestCase.java:76) at junit.framework.TestCase.runBare(TestCase.java:125) My pointcut looks like this: protected pointcut mockPointcut() : ( ... execution on other classes ... || execution (* no.vegvesen.fk.pda.gui.Thinlet.*(..)) || ... execution on other classes ... ); If I change the execution like this it works properly again: (execution (* no.vegvesen.fk.pda.gui.Thinlet.*(..)) && !execution (* *.getGrid(..))) || If I then add a new method with almost identical signature (only changed the name) it fails again: private int[][] getGri(Object component) { return null; }
I suspect this is a duplicate of 118781 to do with multi depth arrays - as luck would have it we have just released a version of AJDT that fixes it. Please can you retry? (on the latest AJDT or the latest AspectJ).
No response to request to retry, so closed as duplicate of 118781. stalebug. *** This bug has been marked as a duplicate of 118781 ***