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

Don't fail on class file version downgrade #32

Open
Egorand opened this issue Apr 29, 2019 · 0 comments
Open

Don't fail on class file version downgrade #32

Egorand opened this issue Apr 29, 2019 · 0 comments

Comments

@Egorand
Copy link

Egorand commented Apr 29, 2019

When the code that was previously compiled against Java 7 is being compiled against Java 6, Japicmp reports class file version incompatibility:

Comparing binary compatibility of  against 
***! MODIFIED CLASS: PUBLIC FINAL okio.Options  (not serializable)
	***! CLASS FILE FORMAT VERSION: 50.0 <- 51.0

Since this doesn't really break compatibility for the callers of this code (Java 7 and higher can compile against binaries built for Java 6), I suggest not failing the build when this incompatibility is encountered, and potentially reporting it as a warning.

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

1 participant