diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-03-02 09:08:48 +0100 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-03-02 10:34:26 +0100 |
commit | 27f14f4d6ffa6bf5cc79fec29fbddf9274a6ad5f (patch) | |
tree | ce7f00bad90b10fb8475748509dbe81fbf1c5ea6 /tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml | |
parent | 2fa6a868509fc636088fac51945c37858da19ad1 (diff) | |
download | aspectj-27f14f4d6ffa6bf5cc79fec29fbddf9274a6ad5f.tar.gz aspectj-27f14f4d6ffa6bf5cc79fec29fbddf9274a6ad5f.zip |
Add Bugs1921Tests::testGitHub_285
This is an additional reproducer for regression bug #285.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml')
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml index d5d4c1c69..975fa1c6c 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml @@ -372,4 +372,25 @@ <ant file="ant.xml" target="same class woven concurrently in parallel-capable classloader" verbose="true"/> </ajc-test> + <!-- + https://github.com/eclipse-aspectj/aspectj/issues/285, AspectJ 1.9.21.2 + + See also org.aspectj.systemtest.ajc171.NewFeatures::testSharedCache. This is a quasi negative test missing back in + 1.7.2 when the shared cache was introduced. + --> + <ajc-test dir="bugs1921/github_285" title="shared cache negative test"> + <compile files="Unwoven.java" options="-1.5"/> + <run class="Unwoven" ltw="aop.xml" usefullltw="true" + vmargs="-Daj.weaving.cache.enabled=true -Daj.weaving.cache.dir=./ -Daj.weaving.cache.impl=shared"> + <stdout> + <line text="Hello world"/> + </stdout> + <!-- + Nothing should be printed on stderr, especially no fatal NPE with message + 'Cannot read the array length because "b" is null' and subsequent ajcore.*.txt + --> + <stderr/> + </run> + </ajc-test> + </suite> |