]> source.dussan.org Git - aspectj.git/commit
Add method ArrayReferenceType.equals to fix failing tests
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 26 Jun 2023 06:11:38 +0000 (08:11 +0200)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 26 Jun 2023 06:48:27 +0000 (13:48 +0700)
commitdb76c175037c10ce21fc8f7fe681162e31082445
treec722587c4fb6bc229c28e744dea918dc6f003e3d
parent00998fd4b23ad0d3e0cd292127297e0fb249c36f
Add method ArrayReferenceType.equals to fix failing tests

This also fixes a bug. Previously, ResolvedType.equals was used for
equality check, and in there is a '==' comparison, which does not work
for two different ArrayReferenceType instances, even if the component
type is the same.

Relates to #246.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
org.aspectj.matcher/src/main/java/org/aspectj/weaver/ArrayReferenceType.java
tests/bugs1920/github_246/ITDAspect.aj
tests/src/test/resources/org/aspectj/systemtest/ajc1920/ajc1920.xml