diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-10-08 06:36:38 +0200 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-10-08 06:36:38 +0200 |
commit | 1dd6a2d47cb409e6f932728e58b41d15c3cf980c (patch) | |
tree | e45d2e35e2fa1cd81b6cee6b1a4dad1989f59f29 /tests/bugs150/pr99125 | |
parent | d9c96991b813b0a95a950e51e8f6149b9cae5ed7 (diff) | |
download | aspectj-1dd6a2d47cb409e6f932728e58b41d15c3cf980c.tar.gz aspectj-1dd6a2d47cb409e6f932728e58b41d15c3cf980c.zip |
Rename DOM AST class TypePattern to AbstractTypePattern
Since JDT Core 3.27 (Java 17), there is a name clash, because the new
class org.eclipse.jdt.core.dom.TypePattern (JEP 406) gets relocated to
org.aspectj.org.eclipse.jdt.core.dom.TypePattern during shading.
Fortunately, this made tests like AjASTTest and AjAST5Test fail with
rather nasty errors like:
java.lang.VerifyError: Bad return type (...)
Type 'org/aspectj/org/eclipse/jdt/core/dom/TypePattern' (...) is not
assignable to 'org/aspectj/org/eclipse/jdt/core/dom/Pattern' (...)
TODO: Update AJDT references to the renamed class in the following
classes after refreshing the AspectJ sources:
- ExtraPackageReferenceFinder
- ExtraTypeReferenceFinder
This also means, that for Eclipse 2021-09 (4.21) we need a new AJDT
update site, because simply deploying to the 4.19 one would probably
lead to problems in the IDE.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/bugs150/pr99125')
0 files changed, 0 insertions, 0 deletions