diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-01-08 16:06:51 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-01-08 16:06:51 +0700 |
commit | de63b63d8264efc9c81aa667546d028859b7a90c (patch) | |
tree | 75506eddf1ffe6d81780f091dae73044a3f072f2 /tests/src/test/resources | |
parent | 92779d0829d41d55cae300d4d4d5a67cff72916d (diff) | |
download | aspectj-de63b63d8264efc9c81aa667546d028859b7a90c.tar.gz aspectj-de63b63d8264efc9c81aa667546d028859b7a90c.zip |
Add test for Java 11 constant-dynamic
Relates to #68.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/resources')
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc198/ajc198.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc198/ajc198.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc198/ajc198.xml index dfe86e2a9..202258c94 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc198/ajc198.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc198/ajc198.xml @@ -3,6 +3,19 @@ <suite> + <!-- https://github.com/eclipse/org.aspectj/issues/68 --> + <ajc-test dir="bugs198/github_68" vm="11" title="correctly weave code using constant-dynamic"> + <compile files="Application.java MyAspect.aj" options="-11" inpath="condy.jar"/> + <run class="Application"> + <stdout> + <line text="execution(CondyCallable())" /> + <line text="execution(CondyCallable())" /> + <line text="execution(Application())" /> + <line text="Sample instance created" /> + </stdout> + </run> + </ajc-test> + <!-- https://github.com/eclipse/org.aspectj/issues/105 --> <ajc-test dir="bugs198/github_105" vm="8" title="ITD annotation with mandatory parameter via aspectpath"> <compile files="FooAnnotation.java BarAnnotation.java FooAspect.aj" options="-8" outjar="aspect.jar"/> |