jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7182) Make it possible to update Guava
Date Thu, 24 Oct 2019 12:51:00 GMT

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

Julian Reschke commented on OAK-7182:

Current status:

- used baseline's (XML) output to identify exported APIs that reference Guava
- for these APIs (with one exception): (a) implemented Guava-free alternatives, (b) deprecated
the existing API, (c) added logging for all uses of the deprecated API (currently at DEBUG,
to be INFO in Oak 1.20.0)
- the exception are the cache API in oak-core-spi - this is way too dependant on associated
Guava APIs; for this: added DEBUG logging for all callers except those currently in Oak; this
logging to be bumped up to INFO 1.20.0 as well; furthermore prepared for remoing it from the
exported API in the future (which IMHO will require embedding the classes in the three Oak
consumers of the API)

The actual removal of the deprecated API would be an incompatible API change. We might want
to do it in sync with the API changes for Java 14 (see OAK-8561).

Once this is done, Oak modules could start using newer Guava versions by shading them (potentially
in a new Oak project that just repackages the shaded Guava). Getting rid of Guava completely
might even be better, but not realistic right now.

> 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
>            Assignee: 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

View raw message