Buggy code:
public class ClassLoaderWeavingAdaptor extends WeavingAdaptor { private static final String AOP_XML = "META-INF//aop.xml" ; private List m_dumpTypePattern = new ArrayList ( ) ; private List m_includeTypePattern = new ArrayList ( ) ; private List m_excludeTypePattern = new ArrayList ( ) ; private List m_aspectExcludeTypePattern = new ArrayList ( ) ; private StringBuffer namespace ; private IWeavingContext weavingContext ; public ClassLoaderWeavingAdaptor ( final ClassLoader loader , IWeavingContext wContext ) { } private void registerDefinitions ( final BcelWeaver weaver , final ClassLoader loader ) { } private void registerOptions ( final BcelWeaver weaver , final ClassLoader loader , final List definitions ) { StringBuffer allOptions = new StringBuffer ( ) ; for ( Iterator iterator = definitions . iterator ( ) ; iterator . hasNext ( ) ; ) { Definition definition = ( ( Definition ) ( iterator . next ( ) ) ) ; allOptions . append ( definition . getWeaverOptions ( ) ) . append ( '<seq2seq4repair_space>' ) ; } Options . WeaverOption weaverOption = Options . parse ( allOptions . toString ( ) , loader ) ; World world = weaver . getWorld ( ) ; world . setMessageHandler ( weaverOption . messageHandler ) ; world . setXlazyTjp ( weaverOption . lazyTjp ) ; world . setXHasMemberSupportEnabled ( weaverOption . hasMember ) ; world . setPinpointMode ( weaverOption . pinpoint ) ; <START_BUG> weaver . setReweavableMode ( weaverOption . reWeavable , false ) ; <END_BUG> world . setXnoInline ( weaverOption . noInline ) ; world . setBehaveInJava5Way ( weaverOption . java5 ) ; if ( ( weaverOption . lintFile ) != null ) { InputStream resource = null ; try { resource = loader . getResourceAsStream ( weaverOption . lintFile ) ; Exception failure = null ; if ( resource != null ) { try { Properties properties = new Properties ( ) ; properties . load ( resource ) ; world . getLint ( ) . setFromProperties ( properties ) ; } catch ( IOException e ) { failure = e ; } } if ( ( failure != null ) || ( resource == null ) ) { world . getMessageHandler ( ) . handleMessage ( new org . aspectj . bridge . Message ( ( "Cannot<seq2seq4repair_space>access<seq2seq4repair_space>resource<seq2seq4repair_space>for<seq2seq4repair_space>-Xlintfile:" + ( weaverOption . lintFile ) ) , IMessage . WARNING , failure , null ) ) ; } } finally { try { resource . close ( ) ; } catch ( Throwable t ) { } } } if ( ( weaverOption . lint ) != null ) { if ( weaverOption . lint . equals ( "default" ) ) { bcelWorld . getLint ( ) . loadDefaultProperties ( ) ; } else { bcelWorld . getLint ( ) . setAll ( weaverOption . lint ) ; } } } private void registerAspectExclude ( final BcelWeaver weaver , final ClassLoader loader , final List definitions ) { } private void registerAspects ( final BcelWeaver weaver , final ClassLoader loader , final List definitions ) { } private void registerIncludeExclude ( final BcelWeaver weaver , final ClassLoader loader , final List definitions ) { } private void registerDump ( final BcelWeaver weaver , final ClassLoader loader , final List definitions ) { } protected boolean accept ( String className ) { } private boolean acceptAspect ( String aspectClassName ) { } public boolean shouldDump ( String className ) { } public String getNamespace ( ) { } public boolean generatedClassesExist ( ) { } public void flushGeneratedClasses ( ) { } private String readAspect ( String name , ClassLoader loader ) { } }

Fix:
weaver . setReweavableMode ( weaverOption . notReWeavable ) ;