jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7217) check public Oak APIs for references to Guava
Date Fri, 17 May 2019 13:50:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-7217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16842184#comment-16842184

Robert Munteanu commented on OAK-7217:

That change is unfortunately neither source nor binary compatible. So we can not perform it
without breaking backwards compatibility. 

The explanation of the binary compatiblitiy that I found is somewhere under https://docs.oracle.com/javase/specs/jls/se12/html/jls-13.html,
where it says that 

{quote}The signature of a method must include all of the following as determined by ยง15.12.3:
* The simple name of the method
* The number of parameters to the method
* A symbolic reference to the type of each parameter

If the types change, the method signature changes. If the signature changes, then it can no
longer link. If it no longer links, it's no longer binary compatible.

> check public Oak APIs for references to Guava
> ---------------------------------------------
>                 Key: OAK-7217
>                 URL: https://issues.apache.org/jira/browse/OAK-7217
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>            Reporter: Julian Reschke
>            Priority: Minor
>         Attachments: detect-api.diff, extract-guava.sh, fileutils-no-commons.diff, guava-global.log,
guava-public-v2.log, guava-public.log

This message was sent by Atlassian JIRA

View raw message