Summary: | ClassGenException in weaver/bcel/ShadowRange:extractInstructionsInto() | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Darren Price <darren> |
Component: | Compiler | Assignee: | Andrew Clement <aclement> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Darren Price
2005-07-20 20:14:31 EDT
for M4 investigation Is there any way you can supply a program that exhibits the incorrect behaviour when weaving? I'm trying to hack some up myself but can't get it to fail. I did change some Select related stuff recently in BCEL for another bug - I've no idea if it will affect this situation though. I'd like to have a test program before making a change like this. If you can't supply the program, can you at least tell me the pointcut/advice declaration involved? so I can continue trying to recreate. thanks. We'd like to fix this for 1.5.0 - but don't want to make a change without being able to reproduce first. Do you have a test program that reproduces this we you could append please? Thanks. Hmmm - as I re-read this bug this morning, I remember something in my murky past where I fixed something possibly related. Given that this was raised against 1.2, take a look at bug 104720 - that was a problem in bcel to do with extracting instructions containing a select. The problem there did manifest at runtime, rather than compile time as discussed in this bug, but it looks a similar problem to do with the targets getting messed up. "Exception in thread "main" java.lang.VerifyError: (class: Test, method:" "newTest_aroundBody2 signature: (I)LTest;) Illegal default target in switch" Can you possibly retry the failing scenario with a build of AspectJ 5? not seen on 1.5 ... delaying for investigation in 1.5.1 bug not seen in the last few months - presumed fixed. please reopen if you see it again. |