[
https://issues.apache.org/jira/browse/OAK-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17557617#comment-17557617
]
Dawid Iwo Cokan commented on OAK-7182:
--------------------------------------
Hi [~reschke]
We use Guava 15 as mentioned but problem with using different version by
clients is not because of used version (nor the fact of exposed Guava code in
OAK APIs) but because Guava makes incompatible changes, right?
Based on Guava [statement|https://github.com/google/guava] starting from 22.0
all their APIs will remain compatible unless they are _@Beta:_
{quote}APIs without {{@Beta}} will remain binary-compatible for the indefinite
future. (Previously, we sometimes removed such APIs after a deprecation period.
The last release to remove non-{{{}@Beta{}}} APIs was Guava 21.0.) Even
{{@Deprecated}} APIs will remain (again, unless they are {{{}@Beta{}}}). We
have no plans to start removing things again, but officially, we're leaving our
options open in case of surprises (like, say, a serious security problem).
{quote}
So correct me if I am wrong but clients would be free to chose the Guava
version (whichever higher than 22.0) if we:
* Depend on 22.0 Guava
* Declare Import-Package as [22.0,)
* Include [Guava Beta Checker|https://github.com/google/guava-beta-checker] in
build chain to ensure no code depends on code that potentially does not exist
in future releases
> Make it possible to update Guava
> --------------------------------
>
> Key: OAK-7182
> URL: https://issues.apache.org/jira/browse/OAK-7182
> Project: Jackrabbit Oak
> Issue Type: Wish
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: GuavaTests.java, OAK-7182-guava-21-3.diff,
> OAK-7182-guava-21-4.diff, OAK-7182-guava-21.diff, OAK-7182-guava-23.6.1.diff,
> guava.diff
>
>
> We currently rely on Guava 15, and this affects all users of Oak because they
> essentially need to use the same version.
> This is an overall issue to investigate what would need to be done in Oak in
> order to make updates possible.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)