]> source.dussan.org Git - aspectj.git/commit
Fix test after node traversal was improved
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 30 Jan 2023 15:32:07 +0000 (16:32 +0100)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Fri, 12 Apr 2024 12:19:06 +0000 (14:19 +0200)
commitcb13d8bf4c77d9100ce7cd1674ba3b5e4eb0ff55
treeb28d3e7e6e7452a90ea51136bec5dbb7bd02441f
parent59fef88ca15bf9b90758067dee2e3b1e321645f2
Fix test after node traversal was improved

Due to the latest improvements, an error which was previously not thrown
unexpectedly according to a source code comment in test aspect
ParameterizedTypesInAnnotationPatterns.aj is now thrown for this kind
of pointcut:

  staticinitialization(@(Foo || List<String>) String)

Now the compiler correctly says:

  no static initialization join points for parameterized types,
  use raw type instead

Relates to #221.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tests/java5/generics/pointcuts/ParameterizedTypesInAnnotationPatterns.aj
tests/src/test/resources/org/aspectj/systemtest/ajc150/ajc150.xml
tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190_from150.xml