Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed methods #41

Open
vikyad opened this issue Apr 13, 2017 · 5 comments
Open

Changed methods #41

vikyad opened this issue Apr 13, 2017 · 5 comments

Comments

@vikyad
Copy link

vikyad commented Apr 13, 2017

How can I get the changed methods between two versions of jars.

@lvc
Copy link
Owner

lvc commented Apr 17, 2017

Hi,

You can do this by the command:

japi-compliance-checker -l NAME -old OLD.jar -new NEW.jar

Thank you.

@lvc lvc closed this as completed Apr 17, 2017
@vikyad
Copy link
Author

vikyad commented Apr 17, 2017 via email

@lvc
Copy link
Owner

lvc commented Apr 17, 2017

Can you attach jars to this issue?

@lvc lvc reopened this Apr 17, 2017
@vikyad
Copy link
Author

vikyad commented Apr 17, 2017 via email

@lvc
Copy link
Owner

lvc commented Apr 17, 2017

If you'll change signature of a method then it is equal to adding a new method and removal of an old one. If you'll change internals of a method's parameter data type (e.g. add a new field) then this method will not be reported as removed.

Please compare with the reports for other libraries: https://abi-laboratory.pro/java/tracker/

Also please run the tool with the -test option and look at the report.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants