diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-08-21 17:18:27 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-08-21 17:58:47 +0700 |
commit | e2a355b37935faf9a8de1ce7ca1f134b5a9df891 (patch) | |
tree | cc80dbc345e21c00c897bf8a1c6cadbc0659e107 /tests/src/test/resources/org/aspectj/systemtest | |
parent | e6c06bdd6ad18171efe5c76b83b62c247832a156 (diff) | |
download | aspectj-e2a355b37935faf9a8de1ce7ca1f134b5a9df891.tar.gz aspectj-e2a355b37935faf9a8de1ce7ca1f134b5a9df891.zip |
Regression test for Spring issue 27761
Relates to spring-projects/spring-framework#27761.
The test needs an ASM-generated class file with reordered methods in
order to reproduce the issue in plain AspectJ. The test fails now, but
should pass after the fix.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/resources/org/aspectj/systemtest')
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc1920/ajc1920.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc1920/ajc1920.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc1920/ajc1920.xml index 402f50a2f..db47e073d 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc1920/ajc1920.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc1920/ajc1920.xml @@ -418,4 +418,15 @@ </run> </ajc-test> + <!-- https://github.com/spring-projects/spring-framework/issues/27761 --> + <ajc-test dir="bugs1921/gh_spring_27761" vm="8" title="do not match bridge methods"> + <compile files="RepositoryAspect.aj" inpath="JpaRepository_bridge_first.jar" options="-8"/> + <run class="RepositoryAspect"> + <stdout> + <line text="execution(List RepositoryImpl.saveAll(Iterable))"/> + <line text="Saving [One, Two, Three]"/> + </stdout> + </run> + </ajc-test> + </suite> |