siom79 / japicmp

Comparison of two versions of a jar archive
https://siom79.github.io/japicmp
Apache License 2.0
694 stars 107 forks source link

Regression CLASS_GENERIC_TEMPLATE_CHANGED #368

Closed velo closed 5 months ago

velo commented 8 months ago

Hi,

I might have found a regression.

On japicmp 0.16.0 (tested 0.15.3 too, and workds) my project builds fine as expected. On japicmp 0.17.1 it fails There is at least one incompatibility: com.querydsl.mongodb.MongodbExpressions.all(com.querydsl.core.types.dsl.ListPath,java.util.Collection):CLASS_GENERIC_TEMPLATE_CHANGED Also tested with all 0.17.x and 0.18.x releases.

On my side, this is a new static method AND is a new major release 6.0-SNAPSHOT.

https://app.circleci.com/pipelines/github/OpenFeign/querydsl/508/workflows/a08cc0c7-2acd-437c-a34a-6001e4358571/jobs/3172

japicmp.xsd.txt japicmp.diff.txt japicmp.html.txt japicmp.xml.txt

amousavigourabi commented 8 months ago

Hi, we are also facing similar behaviour on wholly new methods over at Apache Parquet after updating japicmp from 0.16.0 to 0.18.1 and later 0.18.2. We ended up temporarily resolving the issue by adding tons of new methods to our japicmp exclusions (see apache/parquet-mr#1181).

siom79 commented 5 months ago

Fixed with the latest commit. Is available with the next release.