Both bcel.jar and bcel-verifier.jar seem to be obsolete. Possible next step: Remove bcel-builder/verifier-src. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>tags/V1_9_22
public static final String DEFAULT_CLASSPATH_ENTRIES = | public static final String DEFAULT_CLASSPATH_ENTRIES = | ||||
DEFAULT_FULL_LTW_CLASSPATH_ENTRIES | DEFAULT_FULL_LTW_CLASSPATH_ENTRIES | ||||
+ Ajc.outputFolders("bridge", "util", "loadtime", "weaver", "asm", "runtime", "org.aspectj.matcher", "bcel-builder") | + Ajc.outputFolders("bridge", "util", "loadtime", "weaver", "asm", "runtime", "org.aspectj.matcher", "bcel-builder") | ||||
+ pathSeparator + ".." + separator + "lib" + separator + "bcel" + separator + "bcel.jar" | |||||
+ pathSeparator + ".." + separator + "lib" + separator + "bcel" + separator + "bcel-verifier.jar" | |||||
+ pathSeparator + CLASSPATH_JDT_CORE | + pathSeparator + CLASSPATH_JDT_CORE | ||||
+ pathSeparator + CLASSPATH_ASM | + pathSeparator + CLASSPATH_ASM | ||||
+ pathSeparator + CLASSPATH_ASM_COMMONS | + pathSeparator + CLASSPATH_ASM_COMMONS |
<ajc-test dir="java5/reflection" title="pointcut parsing with ajc compiled pointcut references"> | <ajc-test dir="java5/reflection" title="pointcut parsing with ajc compiled pointcut references"> | ||||
<compile files="PointcutLibrary.aj,ReflectOnAjcCompiledPointcuts.java" options="-1.5"/> | <compile files="PointcutLibrary.aj,ReflectOnAjcCompiledPointcuts.java" options="-1.5"/> | ||||
<run class="ReflectOnAjcCompiledPointcuts" classpath="../lib/bcel/bcel.jar"/> | |||||
<run class="ReflectOnAjcCompiledPointcuts"/> | |||||
</ajc-test> | </ajc-test> | ||||
<ajc-test dir="java5/reflection" title="reflection on itds"> | <ajc-test dir="java5/reflection" title="reflection on itds"> | ||||
<compile files="InterTypeDeclarations.aj,ReflectOnCodeStyleITDs.java" options="-1.5 -Xlint:ignore -makeAjReflectable"/> | <compile files="InterTypeDeclarations.aj,ReflectOnCodeStyleITDs.java" options="-1.5 -Xlint:ignore -makeAjReflectable"/> | ||||
<run class="ReflectOnCodeStyleITDs" classpath="../lib/bcel/bcel.jar"> | |||||
<run class="ReflectOnCodeStyleITDs"> | |||||
<stdout> | <stdout> | ||||
<line text="public C.new(int, int, int)"/> | <line text="public C.new(int, int, int)"/> | ||||
<line text="C.new(int, int)"/> | <line text="C.new(int, int)"/> | ||||
<ajc-test dir="java5/reflection" title="reflection on @DeclareParents"> | <ajc-test dir="java5/reflection" title="reflection on @DeclareParents"> | ||||
<compile files="AtAspectJDeclareParents.aj,ReflectOnAtAspectJDeclareParents.java" options="-1.5 -Xlint:ignore"/> | <compile files="AtAspectJDeclareParents.aj,ReflectOnAtAspectJDeclareParents.java" options="-1.5 -Xlint:ignore"/> | ||||
<run class="ReflectOnAtAspectJDeclareParents" classpath="../lib/bcel/bcel.jar"> | |||||
<run class="ReflectOnAtAspectJDeclareParents"> | |||||
<stdout> | <stdout> | ||||
<line text="declare parents : C implements I"/> | <line text="declare parents : C implements I"/> | ||||
<line text="public int I.getX()"/> | <line text="public int I.getX()"/> |
<ajc-test dir="java5/ataspectj/annotationGen" title="runtime pointcut resolution referencing compiled pointcuts"> | <ajc-test dir="java5/ataspectj/annotationGen" title="runtime pointcut resolution referencing compiled pointcuts"> | ||||
<compile files="PCLib.aj,RuntimePointcuts.java" options="-1.5"> | <compile files="PCLib.aj,RuntimePointcuts.java" options="-1.5"> | ||||
</compile> | </compile> | ||||
<run class="RuntimePointcuts" classpath=".,../lib/bcel/bcel.jar" ltw=""/> | |||||
<run class="RuntimePointcuts"/> | |||||
</ajc-test> | </ajc-test> | ||||
<ajc-test dir="java5/ataspectj/annotationGen" title="ann gen for decp"> | <ajc-test dir="java5/ataspectj/annotationGen" title="ann gen for decp"> |
<ajc-test dir="java5/reflection" title="pointcut parsing with ajc compiled pointcut references"> | <ajc-test dir="java5/reflection" title="pointcut parsing with ajc compiled pointcut references"> | ||||
<compile files="PointcutLibrary.aj,ReflectOnAjcCompiledPointcuts.java" options="-1.9"/> | <compile files="PointcutLibrary.aj,ReflectOnAjcCompiledPointcuts.java" options="-1.9"/> | ||||
<run class="ReflectOnAjcCompiledPointcuts" classpath="../lib/bcel/bcel.jar"/> | |||||
<run class="ReflectOnAjcCompiledPointcuts"/> | |||||
</ajc-test> | </ajc-test> | ||||
<ajc-test dir="java5/reflection" title="reflection on itds"> | <ajc-test dir="java5/reflection" title="reflection on itds"> | ||||
<compile files="InterTypeDeclarations.aj,ReflectOnCodeStyleITDs.java" options="-1.9 -Xlint:ignore -makeAjReflectable"/> | <compile files="InterTypeDeclarations.aj,ReflectOnCodeStyleITDs.java" options="-1.9 -Xlint:ignore -makeAjReflectable"/> | ||||
<run class="ReflectOnCodeStyleITDs" classpath="../lib/bcel/bcel.jar"> | |||||
<run class="ReflectOnCodeStyleITDs"> | |||||
<stdout> | <stdout> | ||||
<line text="public C.new(int, int, int)"/> | <line text="public C.new(int, int, int)"/> | ||||
<line text="C.new(int, int)"/> | <line text="C.new(int, int)"/> | ||||
<ajc-test dir="java5/reflection" title="reflection on @DeclareParents"> | <ajc-test dir="java5/reflection" title="reflection on @DeclareParents"> | ||||
<compile files="AtAspectJDeclareParents.aj,ReflectOnAtAspectJDeclareParents.java" options="-1.9 -Xlint:ignore"/> | <compile files="AtAspectJDeclareParents.aj,ReflectOnAtAspectJDeclareParents.java" options="-1.9 -Xlint:ignore"/> | ||||
<run class="ReflectOnAtAspectJDeclareParents" classpath="../lib/bcel/bcel.jar"> | |||||
<run class="ReflectOnAtAspectJDeclareParents"> | |||||
<stdout> | <stdout> | ||||
<line text="declare parents : C implements I"/> | <line text="declare parents : C implements I"/> | ||||
<line text="public int I.getX()"/> | <line text="public int I.getX()"/> |
public void testBig() throws IOException { | public void testBig() throws IOException { | ||||
System.out.println("could take 4 seconds..."); | System.out.println("could take 4 seconds..."); | ||||
zipTest("../lib/bcel/bcel.jar", null); | |||||
// Weave a big JAR file. This is unrelated to Ant, i.e. the JAR can be replaced by another one for this test. | |||||
zipTest("../lib/ant/lib/ant.jar", null); | |||||
} | } | ||||
public void testBigWithEasyNoTrace() throws IOException { | public void testBigWithEasyNoTrace() throws IOException { | ||||
System.out.println("could take 4 seconds..."); | System.out.println("could take 4 seconds..."); | ||||
zipTest("../lib/bcel/bcel.jar", WeaverTestCase.TESTDATA_PATH + "/megatrace0easy.jar"); | |||||
// Weave a big JAR file. This is unrelated to Ant, i.e. the JAR can be replaced by another one for this test. | |||||
zipTest("../lib/ant/lib/ant.jar", WeaverTestCase.TESTDATA_PATH + "/megatrace0easy.jar"); | |||||
} | } | ||||
// this is something we test every now and again. | // this is something we test every now and again. | ||||
public void xtestBigWithHardNoTrace() throws IOException { | public void xtestBigWithHardNoTrace() throws IOException { | ||||
System.out.println("could take 24 seconds..."); | System.out.println("could take 24 seconds..."); | ||||
zipTest("../lib/bcel/bcel.jar", WeaverTestCase.TESTDATA_PATH + "/megatrace0hard.jar"); | |||||
// Weave a big JAR file. This is unrelated to Ant, i.e. the JAR can be replaced by another one for this test. | |||||
zipTest("../lib/ant/lib/ant.jar", WeaverTestCase.TESTDATA_PATH + "/megatrace0hard.jar"); | |||||
} | } | ||||
public void xtestBigWithAspects() throws IOException { | public void xtestBigWithAspects() throws IOException { | ||||
System.out.println("could take 40 seconds..."); | System.out.println("could take 40 seconds..."); | ||||
zipTest("../lib/bcel/bcel.jar", WeaverTestCase.TESTDATA_PATH + "/megatrace.jar"); | |||||
// Weave a big JAR file. This is unrelated to Ant, i.e. the JAR can be replaced by another one for this test. | |||||
zipTest("../lib/ant/lib/ant.jar", WeaverTestCase.TESTDATA_PATH + "/megatrace.jar"); | |||||
} | } | ||||
} | } |