Any alternatives to Clirr (binary and source compatibility with older releases)? [closed]

旧巷老猫 提交于 2019-12-03 03:23:51
toniedzwiedz

You can also try japicmp, it's a neat project I found recently while trying to perform the same task.

Its usage is pretty simple and it comes down to passing it two versions of your library packaged as JARs... for example:

java -jar japicmp-0.0.2.jar -n my-jar-new.jar -o my-jar-old.jar

It also has an API that allows you to use it programmatically.

The project's Github page has a straightforward guide on how to get started.


Also, this SO answer suggests jarc as an alternative

Tools to check compatibility of Java APIs:

Tools to check compatibility of OSGi bundles:

Tools to visualize changes in JARs:

See also "Evolving Java-based APIs 2: Achieving API Binary Compatibility" paper for detailed info about possible binary and source compatibility issues in Java APIs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!