[
https://issues.apache.org/jira/browse/HBASE-10481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895104#comment-13895104
]
Aleksandr Shulman commented on HBASE-10481:
-------------------------------------------
Semantically, it does not make sense to have a the previous version be greater
than the current version. The script would just generate a report that is the
mirror image (adds reported as removes).
I don't think this is a meaningful use case to support. The solution would be
to add a meaningful error message and also to document the logic.
> API Compatibility JDiff script does not properly handle arguments in reverse
> order
> ----------------------------------------------------------------------------------
>
> Key: HBASE-10481
> URL: https://issues.apache.org/jira/browse/HBASE-10481
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
> Reporter: Aleksandr Shulman
> Assignee: Aleksandr Shulman
> Priority: Minor
> Fix For: 0.94.16, 0.98.1, 0.99.0, 0.96.1.1
>
>
> [~jmhsieh] found an issue when doing a diff between a pre-0.96 branch and a
> post-0.96 branch.
> Typically, if the pre-0.96 branch is specified first, and the post-0.96
> branch second, the exisitng logic handles it.
> When it is in the reverse order, that logic is not handled properly.
> The fix should address this.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)