[ 
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
{quote}

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
(v7.6.3#76005)

Reply via email to