-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
PARQUET-2371: Resolve japicmp CI failure #1181
PARQUET-2371: Resolve japicmp CI failure #1181
Conversation
@@ -68,7 +68,7 @@ | |||
<jackson.package>com.fasterxml.jackson</jackson.package> | |||
<jackson.version>2.15.2</jackson.version> | |||
<jackson-databind.version>2.15.2</jackson-databind.version> | |||
<japicmp.version>0.18.1</japicmp.version> | |||
<japicmp.version>0.18.2</japicmp.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reverting the version back to 0.16.0, the problem is gone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with these changes if we want to keep the japicmp
version. Or else we should revert the version change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 on my side.
@Fokko @gszadovszky Do you have any comment?
I'll merge this when the CI is green to unblock CIs of other PRs. |
Sorry @wgtmac, @ConeyLiu, for the late response. |
@gszadovszky, the issue at hand was not that adding methods to already existing interfaces caused failures. As you noted, this would be perfectly fine and expected behaviour. Instead, japicmp failed on wholly new interfaces (see |
Thanks for the clarification, @amousavigourabi. We cannot do anything but excluding these classes, then, I'm afraid. But the comment is a bit misleading. |
Make sure you have checked all steps below.
Jira
Tests
No user facing changes, only resolves CI failure.
Commits
Documentation
Japicmp failed on newly introduced classes, during review this did not cause a failure. This likely has something to do with the japicmp 0.18.1 update we pushed since then (for this, see #1176). Includes bumping japicmp to 0.18.2.
The false positives were all under the banner of
CLASS_GENERIC_TEMPLATE_CHANGED
. Similar problems seem to have been reported before at siom79/japicmp#345.